Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None

      Description

      My project, Pig, provides an interactive shell for users where, among other things, they can do some basic DFS operations such as changing firectories, copying files, etc. It would be great if Hadoop could provide a consistent interface to support basic shell operations.

        Activity

        Hide
        Olga Natkovich added a comment -

        Pig currently uses the following commands:

        cat
        cd
        cp
        copyFromLocal
        copyToLocal
        ls
        mv
        mkdir
        pwd
        rm

        Show
        Olga Natkovich added a comment - Pig currently uses the following commands: cat cd cp copyFromLocal copyToLocal ls mv mkdir pwd rm
        Hide
        Raghu Angadi added a comment -

        Olga, could you give an example of inconstancy?

        Show
        Raghu Angadi added a comment - Olga, could you give an example of inconstancy?
        Hide
        Olga Natkovich added a comment -

        I did not mean to say that hadoop has an inconsistent interface. As far as I know there is not API access to shell commands listed above and I would like to avoid calling hadoop command line for each command within Pig's shell.

        Show
        Olga Natkovich added a comment - I did not mean to say that hadoop has an inconsistent interface. As far as I know there is not API access to shell commands listed above and I would like to avoid calling hadoop command line for each command within Pig's shell.
        Hide
        Raghu Angadi added a comment -

        Thanks Olga. I will chat with you regd what Pig needs. Please feel free to add your requirements here.

        Show
        Raghu Angadi added a comment - Thanks Olga. I will chat with you regd what Pig needs. Please feel free to add your requirements here.
        Hide
        Olga Natkovich added a comment -

        I spoke with Mahadev and Raghu and it looks like Pig can gets needed functionality using FSShell class. I will open jira for Pig on this.

        Show
        Olga Natkovich added a comment - I spoke with Mahadev and Raghu and it looks like Pig can gets needed functionality using FSShell class. I will open jira for Pig on this.
        Hide
        Olga Natkovich added a comment -

        Please, feel free to close this issue.

        Show
        Olga Natkovich added a comment - Please, feel free to close this issue.
        Hide
        Raghu Angadi added a comment -

        I think PIG is planning to use FsShell.run(args).

        Show
        Raghu Angadi added a comment - I think PIG is planning to use FsShell.run(args) .

          People

          • Assignee:
            Raghu Angadi
            Reporter:
            Olga Natkovich
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development