java.lang.IllegalArgumentException: Wrong FS: s3n://data.s3ndemo.hive/kv1.txt, e xpected: file:///

Apache's JIRA Issue Tracker | Joydeep Sen Sarma | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Second-time query fails with sc in spark-shell

    GitHub | 2 years ago | oza
    java.lang.IllegalArgumentException: Wrong FS: hdfs:/user/ozawa/wordCountInput20GB, expected: file:///
  3. 0

    need to use hadoop native

    Stack Overflow | 5 years ago | lucky_start_izumi
    java.lang.IllegalArgumentException: Wrong FS: hdfs://D-SJC-00535164:9000/local/usecases /gbase014/outbound/seed_2012-03-12_06-34-39/1_1.lzo.index, expected: file:///

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Wrong FS: s3n://data.s3ndemo.hive/kv1.txt, e xpected: file:///

      at org.apache.hadoop.fs.FileSystem.checkPath()
    2. Hadoop
      FileSystem.exists
      1. org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:322)
      2. org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:52)
      3. org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:416)
      4. org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:244)
      5. org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:651)
      5 frames
    3. Hive Query Language
      Driver.getResults
      1. org.apache.hadoop.hive.ql.exec.FetchTask.getNextPath(FetchTask.java:179)
      2. org.apache.hadoop.hive.ql.exec.FetchTask.getRecordReader(FetchTask.java:223)
      3. org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:287)
      4. org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:322)
      4 frames