none
Export-AzureRmDataLakeStoreItem : ADLSException: Error in getting metadata for path

    Question

  • I am getting below when I try to export from Azure data lake to local drive. My PS command is like this:

    Export-AzureRmDataLakeStoreItem -AccountName $dataLakeStoreName 
    -Path /Audit/ValidationLogs/Data_validation/MirrorValidations/test.csv -Destination "C:\sampledata\vehicle1_09142014_Copy.csv" -Concurrency 4

    Error:

    Export-AzureRmDataLakeStoreItem : ADLSException: Error in getting metadata for path 
    /Audit/ValidationLogs/Data_validation/MirrorValidations/Mirror_validation_Report_Mastertables_Difference_SEP_Invoice.csv.
    Operation: GETFILESTATUS failed with HttpStatus:ServiceUnavailable Error: Unexpected error in JSON parsing.
    Last encountered exception thrown after 5 tries. [Unexpected error in JSON parsing,Unexpected error in JSON parsing,Unexpected error in JSON parsing,Unexpected error in JSON parsing,Unexpected error in 
    JSON parsing]
    [ServerRequestId:]
    At C:\Users\gutthil1\Desktop\Untitled3.ps1:3 char:1
    + Export-AzureRmDataLakeStoreItem -AccountName $dataLakeStoreName -Path ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : CloseError: (:) [Export-AzureRmDataLakeStoreItem], CloudException
        + FullyQualifiedErrorId : Microsoft.Azure.Commands.DataLakeStore.ExportAzureDataLakeStoreItem



    Friday, June 22, 2018 8:43 PM

All replies

  • Hi Kirank,

      I tried various cases and I wasn't able to reproduce the exact error message you are getting. Are you still facing this error because it says service unavailable on error message. Please try it again and let me know if you are still facing this issue. i was able to execute and copy the file successfully from my repository.


    Saturday, June 23, 2018 1:05 AM
    Moderator