You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ning Zhang (JIRA)" <ji...@apache.org> on 2011/02/05 01:31:31 UTC

[jira] Created: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

make a libthrift.jar and libfb303.jar in dist package for backward compatibility
--------------------------------------------------------------------------------

                 Key: HIVE-1962
                 URL: https://issues.apache.org/jira/browse/HIVE-1962
             Project: Hive
          Issue Type: Improvement
            Reporter: Ning Zhang
            Assignee: Ning Zhang
         Attachments: HIVE-1962.patch

We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

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

Carl Steinbach updated HIVE-1962:
---------------------------------

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

Committed. Thanks Ning!

> make a libthrift.jar and libfb303.jar in dist package for backward compatibility
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1962
>                 URL: https://issues.apache.org/jira/browse/HIVE-1962
>             Project: Hive
>          Issue Type: Improvement
>          Components: Build Infrastructure
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1962.2.patch, HIVE-1962.patch
>
>
> We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

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

Carl Steinbach commented on HIVE-1962:
--------------------------------------

+1. Will commit if tests pass.

> make a libthrift.jar and libfb303.jar in dist package for backward compatibility
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1962
>                 URL: https://issues.apache.org/jira/browse/HIVE-1962
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1962.2.patch, HIVE-1962.patch
>
>
> We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

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

Ning Zhang updated HIVE-1962:
-----------------------------

    Attachment: HIVE-1962.2.patch

> make a libthrift.jar and libfb303.jar in dist package for backward compatibility
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1962
>                 URL: https://issues.apache.org/jira/browse/HIVE-1962
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1962.2.patch, HIVE-1962.patch
>
>
> We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

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

Ning Zhang updated HIVE-1962:
-----------------------------

    Status: Patch Available  (was: Open)

taking Carl's comments

> make a libthrift.jar and libfb303.jar in dist package for backward compatibility
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1962
>                 URL: https://issues.apache.org/jira/browse/HIVE-1962
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1962.2.patch, HIVE-1962.patch
>
>
> We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

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

Ning Zhang commented on HIVE-1962:
----------------------------------

Carl, any progress on this? Thanks

> make a libthrift.jar and libfb303.jar in dist package for backward compatibility
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1962
>                 URL: https://issues.apache.org/jira/browse/HIVE-1962
>             Project: Hive
>          Issue Type: Improvement
>          Components: Build Infrastructure
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1962.2.patch, HIVE-1962.patch
>
>
> We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

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

Ning Zhang commented on HIVE-1962:
----------------------------------

cool. I also just found out the ant package issue. I'll upload a new patch soon. 

> make a libthrift.jar and libfb303.jar in dist package for backward compatibility
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1962
>                 URL: https://issues.apache.org/jira/browse/HIVE-1962
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1962.patch
>
>
> We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

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

Carl Steinbach updated HIVE-1962:
---------------------------------

    Component/s: Build Infrastructure

> make a libthrift.jar and libfb303.jar in dist package for backward compatibility
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1962
>                 URL: https://issues.apache.org/jira/browse/HIVE-1962
>             Project: Hive
>          Issue Type: Improvement
>          Components: Build Infrastructure
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1962.2.patch, HIVE-1962.patch
>
>
> We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HIVE-1962) make a libthrift.jar and libfb303.jar in dist package for backward compatibility

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

Carl Steinbach updated HIVE-1962:
---------------------------------

    Status: Open  (was: Patch Available)

* Library version properties are already defined in ivy/libraries.properties (including thrift.version). Instead of redefining in this build.properties can you please import ivy/libraries.properties at the beginning of build.xml?

* 'ant clean package tar' fails if the symlink build/dist/lib already exists. Looks like you can get around this by setting overwrite=true in the symlink task.


> make a libthrift.jar and libfb303.jar in dist package for backward compatibility
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1962
>                 URL: https://issues.apache.org/jira/browse/HIVE-1962
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1962.patch
>
>
> We have seen an internal user that relies on Hive's distribution library libthrift.jar. After the upgrade of thrift jar to 0.5.0, the jar file is renamed to thrift-0.5.0.jar and similarly for the fb303 jar. We can ask the user to change their dependency to thrift-0.5.0.jar, but later when we upgrade to a new version, the dependency breaks again. It's desirable to create a symlink in the dist/lib directory to link libthrift.jar to thrift-${thrift.version}.jar and the same for fb303. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira