Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11491

HarFs incorrectly declared as requiring an authority

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      HarFs is inited with authorityRequired=true. However, obviously har uri may contain no authority (for the underlying default file system).

      Caused by: org.apache.hadoop.HadoopIllegalArgumentException: FileSystem implementation error -  default port -1 is not valid
      	at org.apache.hadoop.fs.AbstractFileSystem.getUri(AbstractFileSystem.java:301)
      	at org.apache.hadoop.fs.AbstractFileSystem.<init>(AbstractFileSystem.java:261)
      	at org.apache.hadoop.fs.DelegateToFileSystem.<init>(DelegateToFileSystem.java:49)
      	at org.apache.hadoop.fs.HarFs.<init>(HarFs.java:30)
      	... 17 more
      

      and the HDFS HA URI's must not have ports either.

      Attachments

        1. HADOOP-11491-002.patch
          2 kB
          Brahma Reddy Battula
        2. HADOOP-11491.patch
          0.8 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            jira.shegalov Gera Shegalov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: