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

Vinod Kumar Vavilapalli updated HADOOP-2855:
--------------------------------------------

    Attachment: HADOOP-2855.1

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

Reply via email to