Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1314

Cannot pass more than 1 argument to shell command

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      Distributed shell cannot accept more than 1 parameters in argument parts.

      All of these commands are treated as 1 parameter:

      /usr/bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar <distrubuted shell jar> -shell_command echo -shell_args "'"My name" "is Teddy"'"
      /usr/bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar <distrubuted shell jar> -shell_command echo -shell_args "''My name' 'is Teddy''"
      /usr/bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar <distrubuted shell jar> -shell_command echo -shell_args "'My name' 'is Teddy'"

        Attachments

        1. YARN-1314.5.patch
          15 kB
          Xuan Gong
        2. YARN-1314.4.1.patch
          31 kB
          Xuan Gong
        3. YARN-1314.4.patch
          16 kB
          Xuan Gong
        4. YARN-1314.3.patch
          15 kB
          Xuan Gong
        5. YARN-1314.2.patch
          11 kB
          Xuan Gong
        6. YARN-1314.1.patch
          11 kB
          Xuan Gong
        7. YARN-1314.1.patch
          11 kB
          Xuan Gong

          Activity

            People

            • Assignee:
              xgong Xuan Gong
              Reporter:
              tassapola Tassapol Athiapinya
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: