Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Release Note:
      wiki has been updated. resolve the issue.

      Description

      ant gen-test fails in <hive-root>/ql.

      Expected behavior
      =================
      BUILD SUCCESSFUL

      Actual behavior
      ================
      BUILD FAILED
      ./hive/ql/build.xml:85: 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.

      How to reproduce it
      ===================
      1. git clone git://github.com/facebook/arcanist.git
      2. ant clean package eclipse-files
      3. cd metastore/
      4. ant model-jar
      5. cd ../ql
      6. ant gen-test

      Details in https://cwiki.apache.org/confluence/display/Hive/GettingStarted+EclipseSetup

      1. Hive-3003.png
        47 kB
        Gang Tim Liu

        Activity

        Gang Tim Liu created issue -
        Hide
        Gang Tim Liu added a comment -

        Root-cause
        ==========
        ant-contrib is not configured in ql/build.xml

        Solution
        ========
        Add it to it. Reference is here http://ant-contrib.sourceforge.net/

        Show
        Gang Tim Liu added a comment - Root-cause ========== ant-contrib is not configured in ql/build.xml Solution ======== Add it to it. Reference is here http://ant-contrib.sourceforge.net/
        Hide
        Carl Steinbach added a comment -

        The directions on the wiki are outdated. We not longer support running ant from any of the subproject directories – you have to run it from the root directory instead. Let me know if you have time to update the wiki and I can add you to the ACL. Thanks!

        Show
        Carl Steinbach added a comment - The directions on the wiki are outdated. We not longer support running ant from any of the subproject directories – you have to run it from the root directory instead. Let me know if you have time to update the wiki and I can add you to the ACL. Thanks!
        Carl Steinbach made changes -
        Field Original Value New Value
        Component/s Documentation [ 12312589 ]
        Component/s Tests [ 12317406 ]
        Hide
        Gang Tim Liu added a comment -

        Yes, please

        so that I can update it today.

        Show
        Gang Tim Liu added a comment - Yes, please so that I can update it today.
        Hide
        Gang Tim Liu added a comment -

        Hi Carl, I forgot to say "thanks" in previous comment. I am sorry. thank you for providing me information. thank you for quick reply. thanks again Tim

        Show
        Gang Tim Liu added a comment - Hi Carl, I forgot to say "thanks" in previous comment. I am sorry. thank you for providing me information. thank you for quick reply. thanks again Tim
        Hide
        Carl Steinbach added a comment -

        @Tim: No problem. Please tell me your wiki userid and I will add you to the ACL. Thanks.

        Show
        Carl Steinbach added a comment - @Tim: No problem. Please tell me your wiki userid and I will add you to the ACL. Thanks.
        Hide
        Gang Tim Liu added a comment -

        @Carl, thanks a lot. My wiki userid: gangtimliu . Thanks again

        Show
        Gang Tim Liu added a comment - @Carl, thanks a lot. My wiki userid: gangtimliu . Thanks again
        Hide
        Carl Steinbach added a comment -

        @Tim: I added you to the wiki ACL. Let me know if you run into any problems.

        Show
        Carl Steinbach added a comment - @Tim: I added you to the wiki ACL. Let me know if you run into any problems.
        Hide
        Gang Tim Liu added a comment -

        @Carl thanks a lot will let you know how it goes thanks again Tim

        Sent from my iPhone

        Show
        Gang Tim Liu added a comment - @Carl thanks a lot will let you know how it goes thanks again Tim Sent from my iPhone
        Gang Tim Liu made changes -
        Attachment Hive-3003.png [ 12526033 ]
        Hide
        Gang Tim Liu added a comment -

        I update wiki https://cwiki.apache.org/confluence/display/Hive/GettingStarted+EclipseSetup about it. Please look at attachment about change.

        thanks

        Show
        Gang Tim Liu added a comment - I update wiki https://cwiki.apache.org/confluence/display/Hive/GettingStarted+EclipseSetup about it. Please look at attachment about change. thanks
        Gang Tim Liu made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Gang Tim Liu made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Release Note wiki has been updated. resolve the issue.
        Resolution Fixed [ 1 ]
        Hide
        Gang Tim Liu added a comment -

        @Carl, I forgot to thank you again sorry. It works and I can update wiki. thanks again Tim

        Show
        Gang Tim Liu added a comment - @Carl, I forgot to thank you again sorry. It works and I can update wiki. thanks again Tim
        Carl Steinbach made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Carl Steinbach made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Gang Tim Liu
            Reporter:
            Gang Tim Liu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development