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

Upgrade jsch lib to jsch-0.1.51 to avoid problems running on java7

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      We had an application sitting on top of Hadoop and got problems using jsch once we switched to java 7. Got this exception:

       com.jcraft.jsch.JSchException: verify: false
      	at com.jcraft.jsch.Session.connect(Session.java:330)
      	at com.jcraft.jsch.Session.connect(Session.java:183)
      

      Upgrading to jsch-0.1.51 from jsch-0.1.49 fixed the issue for us, but then it got in conflict with hadoop's jsch version (we fixed this for us by jarjar'ing our jsch version).

      So i think jsch got introduce by namenode HA (HDFS-1623). So you guys should check if the ssh part is properly working for java7 or preventively upgrade the jsch lib to jsch-0.1.51!

      Some references to problems reported:

      Attachments

        1. HADOOP-11515.001.patch
          0.4 kB
          Tsuyoshi Ozawa
        2. HDFS-7376.1.patch
          0.4 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

              ozawa Tsuyoshi Ozawa
              oae Johannes Zillmann
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: