Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24623

hdfsResource fails to using nameservices for filesystems which does not support that

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.3
    • None

    Description

      Some filesystems does not support nameservices:

      resource_management.core.exceptions.ExecutionFailed: Execution of 'hadoop --config /usr/hdp/3.0.1.0-179/hadoop/conf jar /var/lib/ambari-agent/lib/fast-hdfs-resource.jar /var/lib/ambari-agent/tmp/hdfs_resources_1536226305.38.json' returned 1. Exception occurred, Reason: abfs://mycluster has invalid authority.
      abfs://mycluster has invalid authority.
      at org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.initializeClient(AzureBlobFileSystemStore.java:732)
      at org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.<init>(AzureBlobFileSystemStore.java:129)
      at org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.initialize(AzureBlobFileSystem.java:97)
      at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3354)
      at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
      at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3403)
      at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3371)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:477)
      at org.apache.ambari.fast_hdfs_resource.Runner.main(Runner.java:83)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
      at org.apache.hadoop.util.RunJar.main(RunJar.java:232)

      Attachments

        1. AMBARI-24623.patch
          0.8 kB
          Andrew Onischuk

        Activity

          People

            aonishuk Andrew Onischuk
            aonishuk Andrew Onischuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h