Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1312

hive trunk does not compile with hadoop 0.17 any more

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • None
    • None

    Description

      This is caused by HIVE-1295.

      compile:
           [echo] Compiling: hive
          [javac] Compiling 527 source files to /hadoop_hive_trunk/.ptest_0/build/ql/classes
          [javac] /hadoop_hive_trunk/.ptest_0/ql/src/java/org/apache/hadoop/hive/ql/io/HiveNullValueSequenceFileOu\
      tputFormat.java:69: cannot find symbol
          [javac] symbol  : method getBytes()
          [javac] location: class org.apache.hadoop.io.BytesWritable
          [javac]           keyWritable.set(bw.getBytes(), 0, bw.getLength());
          [javac]                             ^
          [javac] /hadoop_hive_trunk/.ptest_0/ql/src/java/org/apache/hadoop/hive/ql/io/HiveNullValueSequenceFileOu\
      tputFormat.java:69: cannot find symbol
          [javac] symbol  : method getLength()
          [javac] location: class org.apache.hadoop.io.BytesWritable
          [javac]           keyWritable.set(bw.getBytes(), 0, bw.getLength());
          [javac]                                               ^
          [javac] Note: Some input files use or override a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 2 errors
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jvs John Sichi Assign to me
            zshao Zheng Shao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment