You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zhenxiao Luo (JIRA)" <ji...@apache.org> on 2012/07/07 02:59:33 UTC

[jira] [Created] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Zhenxiao Luo created HIVE-3242:
----------------------------------

             Summary: Fix cascade_dbdrop.q when building hive on hadoop0.23
                 Key: HIVE-3242
                 URL: https://issues.apache.org/jira/browse/HIVE-3242
             Project: Hive
          Issue Type: Bug
            Reporter: Zhenxiao Luo
            Assignee: Zhenxiao Luo


cascade_dbdrop.q is failing when building hive on hadoop0.23:

Failing with the following diff:
-Command failed with exit code = -1
+Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Patch Available  (was: Open)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426823#comment-13426823 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

@Ashutosh: thanks a lot for the comments. updated patch submitted at:
https://reviews.facebook.net/D4455
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Open  (was: Patch Available)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410673#comment-13410673 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

New patch submitted for review at:
https://reviews.facebook.net/D4077
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Kanna Karanam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409140#comment-13409140 ] 

Kanna Karanam commented on HIVE-3242:
-------------------------------------

Thanks Zhenxiao. The changes look good to me but I am not 100% sure with forking of .q files for different Hadoop versions. I will leave it for experts to comment.

                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-3242:
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks Zhenxiao!
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt, HIVE-3242.7.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408541#comment-13408541 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

updated review request submitted:
https://reviews.facebook.net/D4047
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Kanna Karanam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409052#comment-13409052 ] 

Kanna Karanam commented on HIVE-3242:
-------------------------------------

@Zhenxiao - if possible, can you please update "TestHBaseCliDriver.vm" with the same changes to keep all VM files in sync for better maintenance. Thanks
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Patch Available  (was: Open)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409110#comment-13409110 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

@Kanna: Thanks a lot. My patch is updated, and re-submitted at:
https://reviews.facebook.net/D4047
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan updated HIVE-3242:
-----------------------------------

    Status: Open  (was: Patch Available)

[~zhenxiao] See my comments on phabricator.
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Open  (was: Patch Available)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Open  (was: Patch Available)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429624#comment-13429624 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

@Ashutosh and Carl:
Get it. Thanks for your comments. I updated my patch and submitted for review at:
https://reviews.facebook.net/D4545

Thanks,
Zhenxiao
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Patch Available  (was: Open)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt, HIVE-3242.7.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan updated HIVE-3242:
-----------------------------------

    Affects Version/s: 0.10.0
               Status: Open  (was: Patch Available)

[~zhenxiao] Patch doesnt apply cleanly anymore. Can you rebase it?
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426273#comment-13426273 ] 

Ashutosh Chauhan commented on HIVE-3242:
----------------------------------------

+1 Running tests.
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Patch Available  (was: Open)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429539#comment-13429539 ] 

Carl Steinbach commented on HIVE-3242:
--------------------------------------

@Zhenxiao: Yes, your understanding is correct, but Ashutosh's point is that this test doesn't work for Hadoop 1.x. Please update the patch so that it passes by adding "1.0" to one of the macros.
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426013#comment-13426013 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

updated patch submitted at:
https://reviews.facebook.net/D4455
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Attachment: HIVE-3242.5.patch.txt
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410819#comment-13410819 ] 

Carl Steinbach commented on HIVE-3242:
--------------------------------------

+1. Will commit if tests pass.
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408519#comment-13408519 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

review request submitted:
https://reviews.facebook.net/D4047
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Patch Available  (was: Open)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437699#comment-13437699 ] 

Carl Steinbach commented on HIVE-3242:
--------------------------------------

+1. Will commit if tests pass.
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt, HIVE-3242.7.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438469#comment-13438469 ] 

Hudson commented on HIVE-3242:
------------------------------

Integrated in Hive-trunk-h0.21 #1619 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1619/])
    HIVE-3242. Fix cascade_dbdrop.q when building hive on hadoop0.23 (Zhenxiao Luo via cws) (Revision 1375313)

     Result = FAILURE
cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375313
Files : 
* /hive/trunk/hbase-handler/src/test/queries/negative/cascade_dbdrop.q
* /hive/trunk/hbase-handler/src/test/queries/negative/cascade_dbdrop_hadoop20.q
* /hive/trunk/hbase-handler/src/test/results/negative/cascade_dbdrop.q.out
* /hive/trunk/hbase-handler/src/test/results/negative/cascade_dbdrop_hadoop20.q.out
* /hive/trunk/hbase-handler/src/test/templates/TestHBaseCliDriver.vm
* /hive/trunk/hbase-handler/src/test/templates/TestHBaseNegativeCliDriver.vm

                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt, HIVE-3242.7.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426967#comment-13426967 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

@Ashutosh:

My idea is:
For 1.x line(hadoop20), cascade_dbdrop.q does not run, so it EXCLUDE 0.20, cascade_dbdrop_hadoop20.q will be running, so it INCLUDE 0.20.
And, cascade_dbdrop_hadoop20.q.out is having exit code -1.

For 2.x line(hadoop23), cascade_dbdrop.q will be running. (it EXCLUDE 0.20, so will be running for 0.23), cascade_dbdrop_hadoop20.q does not run(it only INCLUDE 0.20, not running for 0.23).
And, cascade_dbdrop.q.out is having exit code 1.

INCLUDE only runs the test if the hadoop version is included in the INCLUDE macro
EXCLUDE only runs the test if the hadoop version is not excluded in the EXCLUDE macro

Is my understanding correct?
Any comments are appreciated.

Thanks,
Zhenxiao
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Attachment: HIVE-3242.4.patch.txt
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Attachment: HIVE-3242.1.patch.txt
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Attachment: HIVE-3242.3.patch.txt
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Patch Available  (was: Open)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Attachment: HIVE-3242.2.patch.txt
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Patch Available  (was: Open)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408505#comment-13408505 ] 

Zhenxiao Luo commented on HIVE-3242:
------------------------------------

if dfs -ls file, when the file does not exist, hadoop0.20 returns exit
code -1, and hadoop0.23 returns exit code 1. Is this correct?
For example, in hive, for the following dfs command:
dfs -ls ../build/ql/tmp/hbase/hbase_table_0;
If the file does not exist, get exit code -1 on hadoop0.20, and exit
code 1 on hadoop0.23.
A brief read of hadoop code, on hadoop 0.20(FsShell.java):
private int ls(String srcf, boolean recursive) throws IOException {
Path srcPath = new Path(srcf);
FileSystem srcFs = srcPath.getFileSystem(this.getConf());
FileStatus[] srcs = srcFs.globStatus(srcPath);
if (srcs==null || srcs.length==0) { throw new FileNotFoundException("Cannot access " + srcf + ": No such file or directory."); }
boolean printHeader = (srcs.length == 1) ? true: false;
int numOfErrors = 0;
for(int i=0; i<srcs.length; i++) { numOfErrors += ls(srcs[i], srcFs, recursive, printHeader); }
return numOfErrors == 0 ? 0 : -1;
}
So, it returns -1 on non-exist file.
While, on hadoop0.23(Command.java):
public int run(String...argv) {
LinkedList<String> args = new LinkedList<String>(Arrays.asList(argv));
try {
if (isDeprecated()) { displayWarning( "DEPRECATED: Please use '"+ getReplacementCommand() + "' instead."); }
processOptions(args);
processRawArguments(args);
} catch (IOException e) { displayError(e); }
return (numErrors == 0) ? exitCode : exitCodeForError();
}
/**
The exit code to be returned if any errors occur during execution.
This method is needed to account for the inconsistency in the exit
codes returned by various commands.
@return a non-zero exit code
*/
protected int exitCodeForError() { return 1; }
So, it returns 1 on non-exist file.
The return exit code is always non-zero on non-exist file, while, it
is 1 on hadoop0.23, and -1 on hadoop0.20.

Plan to have separate qfile and expected output for hadoop0.20 and hadoop0.23
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Attachment: HIVE-3242.6.patch.txt
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426962#comment-13426962 ] 

Ashutosh Chauhan commented on HIVE-3242:
----------------------------------------

[~zhenxiao] I think include/exclude hadoop version combination is still not correct. For 1.x line, exit code = -1, so cascade_dbdrop.q will fail for it and cascade_dbdrop20.q will not run on 1.x
                
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Status: Open  (was: Patch Available)
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3242) Fix cascade_dbdrop.q when building hive on hadoop0.23

Posted by "Zhenxiao Luo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenxiao Luo updated HIVE-3242:
-------------------------------

    Attachment: HIVE-3242.7.patch.txt
    
> Fix cascade_dbdrop.q when building hive on hadoop0.23
> -----------------------------------------------------
>
>                 Key: HIVE-3242
>                 URL: https://issues.apache.org/jira/browse/HIVE-3242
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3242.1.patch.txt, HIVE-3242.2.patch.txt, HIVE-3242.3.patch.txt, HIVE-3242.4.patch.txt, HIVE-3242.5.patch.txt, HIVE-3242.6.patch.txt, HIVE-3242.7.patch.txt
>
>
> cascade_dbdrop.q is failing when building hive on hadoop0.23:
> Failing with the following diff:
> -Command failed with exit code = -1
> +Command failed with exit code = 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira