HDFS and local file transfer and error reporting

  Exception during HDFS and local file transfer in Maven project:
  org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileWithMode0(Ljava/lang/String; JJJI)Ljava/io/FileDescriptor;
  org.apache.hadoop.util.NativeCrc32.nativeComputeChunkedSumsByteArray(II[BI[BIILjava/lang/String; JZ)V

  Solution: add hadoop.dll and winutils files in the windows/system32 directory of the local C disk (in the bin directory of Hadoop) and
in the system environment variable   Configure Hadoop_ Home path and% Hadoop_ HOME%\bin

Read More: