org.apache.hadoop.fs.viewfs.NotInMountpointException: getDefaultReplication on empty path is invalid

GitHub | jeffwang66 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Failed to create ORC files

    GitHub | 7 months ago | jeffwang66
    org.apache.hadoop.fs.viewfs.NotInMountpointException: getDefaultReplication on empty path is invalid

    Root Cause Analysis

    1. org.apache.hadoop.fs.viewfs.NotInMountpointException

      getDefaultReplication on empty path is invalid

      at org.apache.hadoop.fs.viewfs.ViewFileSystem.getDefaultReplication()
    2. Hadoop
      ViewFileSystem.getDefaultReplication
      1. org.apache.hadoop.fs.viewfs.ViewFileSystem.getDefaultReplication(ViewFileSystem.java:593)
      1 frame
    3. Hive Query Language
      OrcOutputFormat$OrcRecordWriter.close
      1. org.apache.hadoop.hive.ql.io.orc.WriterImpl.getStream(WriterImpl.java:1967)
      2. org.apache.hadoop.hive.ql.io.orc.WriterImpl.flushStripe(WriterImpl.java:1984)
      3. org.apache.hadoop.hive.ql.io.orc.WriterImpl.close(WriterImpl.java:2289)
      4. org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat$OrcRecordWriter.close(OrcOutputFormat.java:106)
      4 frames