You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2015/04/29 18:58:06 UTC
[jira] [Commented] (HADOOP-11491) HarFs incorrectly declared as
requiring an authority
[ https://issues.apache.org/jira/browse/HADOOP-11491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519720#comment-14519720 ]
Brahma Reddy Battula commented on HADOOP-11491:
-----------------------------------------------
Marked as critical as harfs will not able to usable when HDFS cluster installed in HA mode ( As it will defined like hdfs://hacluster , which will not get resolved.)..
Attached initial patch.. Thinking of adding test case in Testharfilesystem or create new testclass ( testharfs).. [~jira.shegalov] can you please give your input..Thanks..
> HarFs incorrectly declared as requiring an authority
> ----------------------------------------------------
>
> Key: HADOOP-11491
> URL: https://issues.apache.org/jira/browse/HADOOP-11491
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 2.6.0
> Reporter: Gera Shegalov
> Assignee: Brahma Reddy Battula
> Priority: Critical
> Attachments: HADOOP-11491.patch
>
>
> HarFs is inited with {{authorityRequired=true}}. However, obviously har uri may contain no authority (for the underlying default file system).
> {code}
> 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
> {code}
> and the HDFS HA URI's must not have ports either.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)