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] Updated: (HADOOP-2963) [HOD] hod temp-dir problems
Date Fri, 07 Mar 2008 09:13:46 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hemanth Yamijala updated HADOOP-2963:
-------------------------------------

    Description: 
Filed from couple of related internal bugs from Karam:
======================================
- hod should validate directory provided for hod.temp-dir if exists then it must be a directory
- If a tempdir path is specified with '~', it is not expanded as usual.
- If there's a problem in creating a tempdir, hod exits with an error but does not deallocate
the cluster.

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



  was:
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

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

        Summary: [HOD] hod temp-dir problems  (was: [HOD] hod should validate directory provided
for hod.temp-dir if exists then it must be a directory)

> [HOD] hod temp-dir problems
> ---------------------------
>
>                 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 couple of related internal bugs from Karam:
> ======================================
> - hod should validate directory provided for hod.temp-dir if exists then it must be a
directory
> - If a tempdir path is specified with '~', it is not expanded as usual.
> - If there's a problem in creating a tempdir, hod exits with an error but does not deallocate
the cluster.
> ==================================================================================

-- 
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