Hive
  1. Hive
  2. HIVE-2493

TestLazySimpleSerde fails randomly

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It generates data randomly. Its possible that in some cases generated data is not Base64-compliant. Instead it should generate data deterministically.

      1. hive-2493.patch
        0.7 kB
        Ashutosh Chauhan

        Activity

        Ashutosh Chauhan created issue -
        Hide
        Ashutosh Chauhan added a comment -

        This is not random. I always see this on trunk. Test always fails with commons-codec 1.3 but always passes with commons-codec 1.4 commons-codec 1.3 is buggy see: CODEC-22 CODEC-68 etc. It gets complicated because we have both versions of lib in our tree (because of different versions of hadoop) When HIVE-2380 was checked-in it was using 1.4 is it possible that recent build related changes has somehow made 1.3 to appear in classpath instead of 1.4 ?

        Show
        Ashutosh Chauhan added a comment - This is not random. I always see this on trunk. Test always fails with commons-codec 1.3 but always passes with commons-codec 1.4 commons-codec 1.3 is buggy see: CODEC-22 CODEC-68 etc. It gets complicated because we have both versions of lib in our tree (because of different versions of hadoop) When HIVE-2380 was checked-in it was using 1.4 is it possible that recent build related changes has somehow made 1.3 to appear in classpath instead of 1.4 ?
        Hide
        Ashutosh Chauhan added a comment -

        Here is a patch which puts commons-codec from later version of hadoop in classpath. As a result of it, 1.4 will get used and test passes.

        Show
        Ashutosh Chauhan added a comment - Here is a patch which puts commons-codec from later version of hadoop in classpath. As a result of it, 1.4 will get used and test passes.
        Ashutosh Chauhan made changes -
        Field Original Value New Value
        Attachment hive-2493.patch [ 12498629 ]
        Hide
        John Sichi added a comment -

        +1. Will commit when tests pass.

        Show
        John Sichi added a comment - +1. Will commit when tests pass.
        Hide
        John Sichi added a comment -

        Committed to trunk. Thanks Ashutosh!

        Show
        John Sichi added a comment - Committed to trunk. Thanks Ashutosh!
        John Sichi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hive-trunk-h0.21 #1008 (See https://builds.apache.org/job/Hive-trunk-h0.21/1008/)
        HIVE-2493. TestLazySimpleSerde fails randomly
        (Ashutosh Chauhan via jvs)

        jvs : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1182149
        Files :

        • /hive/trunk/build-common.xml
        Show
        Hudson added a comment - Integrated in Hive-trunk-h0.21 #1008 (See https://builds.apache.org/job/Hive-trunk-h0.21/1008/ ) HIVE-2493 . TestLazySimpleSerde fails randomly (Ashutosh Chauhan via jvs) jvs : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1182149 Files : /hive/trunk/build-common.xml
        Carl Steinbach made changes -
        Fix Version/s 0.8.0 [ 12316178 ]
        Carl Steinbach made changes -
        Fix Version/s 0.9.0 [ 12317742 ]
        Carl Steinbach made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ashutosh Chauhan
            Reporter:
            Ashutosh Chauhan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development