Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2454

Drop JDK6 support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.6, 1.99.6
    • 1.99.7, 1.4.7
    • None
    • None

    Description

      Following our mailing list discussion:

      JDK6 has been officially put end of life by Oracle more then 2 years ago
      (February 2013). Other projects in Hadoop ecosystems have already dropped JDK6 support - for example Hadoop [1], HBase [2] or Pig[3] and hence I would like to kick off discussion to do the same in Sqoop as well.

      What exactly that would mean for our users:

      • User would need to use at least JDK7 on the runtime - we’re spawning mapreduce job, so entire cluster would have to be running on at least JDK7

      What would that mean for Sqoop developers:

      • We would change our build scripts to use -source and -target 1.7 [4] preventing the compilation with JDK6
      • We could use JDK7 specific language features in the source code [5]

      Links:
      1: http://markmail.org/thread/ytisa4w73ym4ee65
      2: https://issues.apache.org/jira/browse/HBASE-11666
      3: http://markmail.org/message/4pdyv22bimh5ae7n
      4: http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html
      5:
      http://docs.oracle.com/javase/7/docs/technotes/guides/language/enhancements.html

      Attachments

        1. SQOOP-2454-trunk.patch
          0.6 kB
          Jarek Jarcec Cecho
        2. SQOOP-2454-sqoop2.patch
          0.6 kB
          Jarek Jarcec Cecho

        Activity

          People

            jarcec Jarek Jarcec Cecho
            jarcec Jarek Jarcec Cecho
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: