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 "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2008/03/26 11:13:24 UTC

[jira] Issue Comment Edited: (HADOOP-2855) [HOD] HOD fails to allocate a cluster if the tarball specified is a relative path

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

vinodkv edited comment on HADOOP-2855 at 3/26/08 3:12 AM:
--------------------------------------------------------------------------

    *  Added test cases.
    * Removed validating the hadoop tar ball URI on the client. That wasn't intended even eariler, it just crept in while testing validation of uri data type.
    * Not adding the display_uri method. The class display itself is dead code.
    * Not expanding user (e.g ~ or ~user)in types.py. This is a shell feature, leaving it for the shell to expand.
    * We are normalizing paths given in file:// scheme also, to deal with relative paths like file://localhost/tmp/../tempDir etc.
    * Fixed a couple of bugs that test cases exposed.
                Eariler normalizing file:// type uri also used to return a normal system path. Changed that behaviour to return a normalize file:// schemed uri.
                Code to verify paths, other that system paths and file://, like those of scheme http:// for example, was missing earlier. Added that now.

Attaching the patch.

      was (Author: vinodkv):
        *  Added test cases.
    * Removed validating the hadoop tar ball URI on the client. That wasn't intended even eariler, it just crept in while testing validation of uri data type.
    * Not adding the display_uri method. The class display itself is dead code.
    * Not expanding user (e.g ~ or ~user)in types.py. This is a shell feature, leaving it for the shell to expand.
    * We are normalizing paths given in file:// scheme also, to deal with relative paths like file://localhost/tmp/../tempDir etc.
    * Fixed a couple of bugs that test cases exposed.
       * Eariler normalizing file:// type uri also used to return a normal system path. Changed that behaviour to return a normalize file:// schemed uri.
       * Code to verify paths, other that system paths and file://, like those of scheme http:// for example, was missing earlier. Added that now.

Attaching the patch.
  
> [HOD] HOD fails to allocate a cluster if the tarball specified is a relative path
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-2855
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2855
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hod
>    Affects Versions: 0.16.0
>            Reporter: Hemanth Yamijala
>            Assignee: Vinod Kumar Vavilapalli
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-2855, HADOOP-2855.1
>
>
> Run hod -t my-tar.tar.gz -o "allocate hod-cluster 3". Ringmaster fails to come up. The log shows the exception as an invalid URL for the tarball file. Basically HOD should translate the relative path to an absolute path and send it to the ringmaster.

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