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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/02/14 03:35:20 UTC
[jira] [Commented] (HADOOP-10329) Fully qualified URIs are
inconsistant and sometimes break in hadoop conf files
[ https://issues.apache.org/jira/browse/HADOOP-10329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901048#comment-13901048 ]
Hadoop QA commented on HADOOP-10329:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12628919/HADOOP-10329.1.patch
against trunk revision .
{color:red}-1 patch{color}. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/3574//console
This message is automatically generated.
> Fully qualified URIs are inconsistant and sometimes break in hadoop conf files
> ------------------------------------------------------------------------------
>
> Key: HADOOP-10329
> URL: https://issues.apache.org/jira/browse/HADOOP-10329
> Project: Hadoop Common
> Issue Type: Bug
> Components: conf
> Affects Versions: 2.2.0
> Reporter: Travis Thompson
> Attachments: HADOOP-10329.1.patch
>
>
> When specifying paths in the *-site.xml files, some are required to be fully qualified, while others (specifically hadoop.tmp.dir) break when a fully qualified uri is used.
> Example:
> If I set hadoop.tmp.dir in core-site to file:///something it'll create a file: directory in my $PWD.
> {noformat}
> <property>
> <name>hadoop.tmp.dir</name>
> <value>file:///grid/a/tmp/hadoop-${user.name}</value>
> </property>
> {noformat}
> {noformat}
> [tthompso@test ~]$ tree file\:/
> file:/
> └── grid
> └── a
> └── tmp
> └── hadoop-tthompso
> {noformat}
> Other places, like the datanode, or the nodemanager, will complain if I don't use fully qualified uris
> {noformat}
> <property>
> <name>dfs.datanode.data.dir</name>
> <value>/grid/a/dfs-data/bs</value>
> </property>
> {noformat}
> {noformat}
> WARN org.apache.hadoop.hdfs.server.common.Util: Path /grid/a/dfs-data/bs should be specified as a URI in configuration files. Please update hdfs configuration.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)