Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15289 Allow viewfs mounts with HDFS/HCFS scheme and centralized mount table
  3. HDFS-15454

ViewFsOverloadScheme should not display error message with "viewfs://" even when it's initialized with other fs.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Currently ViewFsOverloadScheme extended from ViewFileSystem. When there are no mount links, fs initialization fails and throws the exception. When it fails, even it's initialized via ViewFsOverloadScheme( any scheme can be initialized, let's say hdfs://clustername), the exception message always refers to "viewfs://..."

      java.io.IOException: ViewFs: Cannot initialize: Empty Mount table in config for viewfs://clustername/ 
      

      The message should be like below:

      java.io.IOException: ViewFs: Cannot initialize: Empty Mount table in config for hdfs://clustername/ 
      

      Attachments

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: