hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-2963) [HOD] hod should validate directory provided for hod.temp-dir if exists then it must be a directory
Date Fri, 07 Mar 2008 09:09:46 GMT
[HOD] hod should validate directory provided for hod.temp-dir if exists then it must be a directory
---------------------------------------------------------------------------------------------------

                 Key: HADOOP-2963
                 URL: https://issues.apache.org/jira/browse/HADOOP-2963
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/hod
    Affects Versions: 0.16.0
            Reporter: Hemanth Yamijala
            Priority: Minor


Filed from internal bug from Karam:
======================================
Currently hod does not check whether value provided for hod.temp-dir if exists is a directory

For. e.g Ran hod as -:
hod -c conf/hodrc.16 -b 4 -o "allocate ~/cdir 5"
--hod.temp-dir=/a/b/c/ot
(where ot is a file not directory)

Then allocation succeeds and hadoop-site.xml for client-side contains 
[
 <property>
    <name>dfs.client.buffer.dir</name>
   
<value>/a/b/c/ot/hadoopqa.4989.foo.com</value>
    <description>description</description>
  </property>
<property>
]
So when you run dfs client as 
env HADOOP_CONF_DIR=$HOME/cdir hadoop/hadoop-0.16/bin/hadoop dfs -put data input

It fails with following error -:
[
        08/01/04 11:55:25 WARN fs.AllocatorPerContext: Failed to create
/a/b/c/ot/hadoopqa.4989.foo.com
        put: Could not find any valid local directory for tmp/client-1578887916485315410
]

hod should validate directory provided for hod.temp-dir if exists then it must be a directory

==================================================================================

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message