hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6763) fs.default.name has been moved to fs.defaultFS we did not migrate all of the code.
Date Mon, 03 Dec 2012 23:23:58 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509320#comment-13509320
] 

Harsh J commented on HBASE-6763:
--------------------------------

Since 0.96+ alone would have formal Hadoop 2.x support, I don't think such a change should
be done anywhere but trunk. Also, this change is better to do for 0.98 or so, if we assume
that 1.x support shall be dropped?

Here are affected files presently:

{code}
hbase/bin/region_status.rb:config.set 'fs.default.name', config.get(HConstants::HBASE_DIR)
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java:    c.set("fs.default.name",
c.get(HConstants.HBASE_DIR));
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java:
   conf.set("fs.default.name",
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java:    return addConfig(resp,
"fs.default.name");
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java:   
conf.set("fs.default.name", fsUri);
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java:   
      conf.set("fs.default.name", args[i]);
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogPrettyPrinter.java:
   conf.set("fs.default.name",
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java:    conf.set("fs.default.name",
defaultFs.toString());  // for hadoop 0.20
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java:
   conf.set("fs.default.name", conf.get(HConstants.HBASE_DIR));
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java:
       conf.set("fs.default.name", conf.get(HConstants.HBASE_DIR));
hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/util/Merge.java:            + "[-Dfs.default.name=hdfs://nn:port]
<table-name> <region-1> <region-2>\n");
{code}
                
> fs.default.name has been moved to fs.defaultFS we did not migrate all of the code.
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-6763
>                 URL: https://issues.apache.org/jira/browse/HBASE-6763
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.96.0
>            Reporter: Kevin Odell
>              Labels: newbie
>
> We are getting warning messages:
> WARN org.apache.hadoop.conf.Configuration: fs.default.name is deprecated. Instead, use
fs.defaultFS
> This occurs even when the core-site.xml is properly set up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message