An Azure managed cluster service for open-source analytics.
Hi @UDAYA SRINIVASARAO KOTHAMASU
Thank you for the additional details.
Since you confirmed that:
- An explicit filename works successfully.
- The same
hdfs dfs -lscommands work when the complete filename is provided. - The failure occurs only when the
*wildcard is used. - The batch has been working for several years and the issue started only recently.
this helps narrow the issue to how the wildcard path is being handled by the shell/PySpark batch, rather than a general connectivity or storage permission issue.
Could you please try the following from the same environment/user where the batch is running?
hdfs dfs -ls -h 'wasbs://******@dhlsghdinsightprodsa2.blob.core.windows.net/RMGR_RP_20260814*.csv.gz'
Please note the single quotes around the complete path. This prevents the Linux shell from expanding * before the command reaches Hadoop.
Also, please run:
echo hdfs dfs -ls -h wasbs://******@dhlsghdinsightprodsa2.blob.core.windows.net/RMGR_RP_20260814*.csv.gz
and
echo hdfs dfs -ls -h 'wasbs://******@dhlsghdinsightprodsa2.blob.core.windows.net/RMGR_RP_20260814*.csv.gz'
Please share the output of both commands.
Since the failure is occurring from the PySpark batch, could you also share the portion of the PySpark code/job configuration where this wildcard path is constructed and passed to Hadoop/HDFS? Please mask any credentials or sensitive information.
This will help us determine whether the wildcard is being expanded by the shell, PySpark, or the Hadoop filesystem layer.
If possible, please also provide:
- The exact error from the failed PySpark batch.
- The last successful execution date/time.
- The first failed execution date/time.
- Whether the same batch is running with the same cluster/image/runtime version as before.
- Whether any recent changes were made to the cluster, script, shell environment, Python/PySpark version, or storage configuration.
Once we have these details, we can narrow down why the wildcard behavior changed even though the same batch had been working previously.