Data Lake Java Upload Error


  • Hi all,

    I am having an issue with the ADLS SDK for Java and I was hoping someone else had experience with this. I am using the data lake store uploader to try and upload a simple txt file to ADLS. The upload succeeds in a sense - I can find it on the Azure portal. However, the file is much much bigger than it should be (The 3 KB file becomes almost 5 MB) and when I preview the file, there are very many strange character blocks appended onto the text file. Is there a fix or cause for this that anyone would know of?

    Thank you.

    Tuesday, June 28, 2016 1:09 PM

All replies

  • Hi there, the first place to start would be to check what you're setting as the FileEncoding and Binary properties of the UploadParameters constructor.  Make sure they match what you're expecting.  If you can post a snippet of your code, that would be helpful as well.


    Ed Macauley
    Sr. Content Devleoper, Cloud + Enterprise CSI Unlock Insights
    Friday, July 1, 2016 10:44 PM