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

ant gen-test failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.1, 0.9.0
    • 0.10.0
    • None
    • Reviewed
    • ant gen-test failed

    Description

      When I ran the commands introduced in Getting Started page, ant gen-test failed with the following error.

      $ ant gen-test
      Buildfile: /Users/sho/src/apache/hive/ql/build.xml

      test-conditions:
      [echo] Project: ql

      test-init:
      [echo] Project: ql
      [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/data
      [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/logs/clientpositive
      [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/logs/clientnegative
      [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/logs/positive
      [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/logs/negative
      [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/data/warehouse
      [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/data/metadb

      gen-test:
      [echo] ql
      [qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
      [qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute log
      [qtestgen] ???: FileResourceLoader : adding path '/Users/sho/src/apache/hive/ql/src/test/templates'
      [qtestgen] Generated /Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/ql/parse/TestParse.java from template TestParse.vm
      [qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
      [qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute log
      [qtestgen] ???: FileResourceLoader : adding path '/Users/sho/src/apache/hive/ql/src/test/templates'
      [qtestgen] Generated /Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/ql/parse/TestParseNegative.java from template TestParseNegative.vm
      [qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
      [qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute log
      [qtestgen] ???: FileResourceLoader : adding path '/Users/sho/src/apache/hive/ql/src/test/templates'
      [qtestgen] Generated /Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/cli/TestCliDriver.java from template TestCliDriver.vm

      BUILD FAILED
      /Users/sho/src/apache/hive/ql/build.xml:116: Problem: failed to create task or type if
      Cause: The name is undefined.
      Action: Check the spelling.
      Action: Check that any custom tasks/types have been declared.
      Action: Check that any <presetdef>/<macrodef> declarations have taken place.

      Getting Started: https://cwiki.apache.org/confluence/display/Hive/GettingStarted+EclipseSetup

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--HIVE-2904.D2487.1.patch
          0.6 kB
          Phabricator
        2. ASF.LICENSE.NOT.GRANTED--HIVE-2904.D2487.2.patch
          0.6 kB
          Phabricator
        3. ASF.LICENSE.NOT.GRANTED--HIVE-2904.D2487.3.patch
          0.5 kB
          Phabricator
        4. ASF.LICENSE.NOT.GRANTED--HIVE-2904.D2925.1.patch
          2 kB
          Phabricator
        5. HIVE-2904.1.patch
          0.6 kB
          tamtam180
        6. HIVE-2904.D2925.1.patch
          2 kB
          Carl Steinbach

        Activity

          People

            tamtam180 tamtam180
            sho.shimauchi Sho Shimauchi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: