Uma Maheswara Rao G created HDFS-15454:
------------------------------------------

             Summary: ViewFsOverloadScheme should not display error message 
with "viewfs://" even when it's initialized with other fs.
                 Key: HDFS-15454
                 URL: https://issues.apache.org/jira/browse/HDFS-15454
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Uma Maheswara Rao G
            Assignee: Uma Maheswara Rao G


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://..."

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

The message should be like below:
{code:java}
java.io.IOException: ViewFs: Cannot initialize: Empty Mount table in config for 
hdfs://clustername/ 
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to