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] Commented: (HADOOP-2794) hod list command throws python exception, when clusters.state file contains some directory path which actually does not exist
Date Thu, 06 Mar 2008 06:38:58 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575585#action_12575585
] 

Hemanth Yamijala commented on HADOOP-2794:
------------------------------------------

Is there a scenario where this can actually happen, other than user error. Just asking to
help prioritize the issue.

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


Mime
View raw message