hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HADOOP-2855) [HOD] HOD fails to allocate a cluster if the tarball specified is a relative path
Date Wed, 26 Mar 2008 10:13:24 GMT

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


Mime
View raw message