You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2008/03/24 05:17:24 UTC

[jira] Resolved: (HADOOP-2794) hod list command throws python exception, when clusters.state file contains some directory path which actually does not exist

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

Hemanth Yamijala resolved HADOOP-2794.
--------------------------------------

    Resolution: Duplicate

This is duplicate of  HADOOP-2848.

> hod list command throws python exception, when clusters.state file contains some directory path which actually does not exist 
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2794
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2794
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hod
>    Affects Versions: 0.16.0
>            Reporter: Karam Singh
>            Priority: Minor
>
> hod list command throws following python exception when clusters.state file contains some directory path which actually
> does not exits -:
> CRITICAL/50 hod:340 - op: list failed: <type 'exceptions.OSError'> [Errno 2] No such file or directory: '[Path to non-exstent directory'
> Following are the steps to repro -:
> 1. Create directory tree cdir/clusterDir say at $HOME dir.
> 2. Run hod allocate as -: hod -c <confPath> -b 4 -o "allocate ~/cdir/clusterDir 5" 
> 3. rename cdir to cdir1.
> 4. Run hod list as -: hod -o list
>     hod will list  the allocated directories up to the the point it encounters non-existant path entry in ~/.hod/clusters.state file afer that hod will throw python exception and will stop
> Note -:
> There is more issue. if cdir exists but not clusrterDir. Then hod will create clusterDir (a new empty directory)
> 		

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