FAQ
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
Reporter: Karam Singh
Priority: Minor
Fix For: 0.16.0


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.

Search Discussions

  • Karam Singh (JIRA) at Feb 7, 2008 at 1:06 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Karam Singh updated HADOOP-2794:
    --------------------------------

    Fix Version/s: (was: 0.16.0)
    Affects Version/s: 0.16.0
    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.
  • Hemanth Yamijala (JIRA) at Mar 6, 2008 at 6:40 am
    [ 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.
  • Hemanth Yamijala (JIRA) at Mar 24, 2008 at 4:19 am
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedFeb 7, '08 at 12:58p
activeMar 24, '08 at 4:19a
posts4
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hemanth Yamijala (JIRA): 4 posts

People

Translate

site design / logo © 2022 Grokbase