Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10060

Unable to run JDK_1.7.1_40 commands in Cygwin2.829 (32 bit

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.2.1
    • None
    • bin
    • None
    • Background

      I have installed Cygwin to self learn Hadoop 1.2.1 with the above JDK in Cygwin environment on Windows XP- SP2 laptop

    Description

      Actions Performed

      1. As advised by Hadoop exported JAVA_HOME=/cygwin/jdk1.2.7_40/bin in hadoop-env.sh and tried to run java commands with error
      jar /cygwin/hadoop-1.2.1/hadoop-examples-1.2.1.jar
      -bash: jar: command not found
      2. However when echoed I get right pointed path
      echo $JAVA_HOME
      /cygwin/jdk1.7.0_40/bin
      3. Tried including export path in .bash_profile, and .profile, with same error.

      Unable to move forward with out JDK calls. Anticipate the same with Hadoop related commands.

      Attachments

        Activity

          People

            Unassigned Unassigned
            anand_vihar Anand Murali
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: