[ 
https://issues.apache.org/jira/browse/HAWQ-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948210#comment-15948210
 ] 

Shivram Mani edited comment on HAWQ-1421 at 3/30/17 1:18 AM:
-------------------------------------------------------------

The following is the output on running make rpm for PXF
{code}
BUILD SUCCESSFUL
Total time: 48.714 secs
shivram:pxf shivram$ vim build/distributions/pxf-
pxf-3.2.1.0-shivram.el6.noarch.rpm          
pxf-hbase-3.2.1.0-shivram.el6.noarch.rpm    
pxf-hdfs-3.2.1.0-shivram.el6.noarch.rpm     
pxf-hive-3.2.1.0-shivram.el6.noarch.rpm     
pxf-jdbc-3.2.1.0-shivram.el6.noarch.rpm     
pxf-json-3.2.1.0-shivram.el6.noarch.rpm     
pxf-service-3.2.1.0-shivram.el6.noarch.rpm
{code}
When the build number is set:
{code}
export BUILD_NUMBER=1
BUILD SUCCESSFUL
Total time: 43.94 secs
shivram:pxf shivram$ vim build/distributions/pxf-
pxf-3.2.1.0-1.el6.noarch.rpm          pxf-hbase-3.2.1.0-1.el6.noarch.rpm    
pxf-hdfs-3.2.1.0-1.el6.noarch.rpm     pxf-hive-3.2.1.0-1.el6.noarch.rpm     
pxf-jdbc-3.2.1.0-1.el6.noarch.rpm     pxf-json-3.2.1.0-1.el6.noarch.rpm     
pxf-service-3.2.1.0-1.el6.noarch.rpm
{code}


was (Author: shivram):
The following is the output on running make rpm for PXF
```
BUILD SUCCESSFUL
Total time: 48.714 secs
shivram:pxf shivram$ vim build/distributions/pxf-
pxf-3.2.1.0-shivram.el6.noarch.rpm          
pxf-hbase-3.2.1.0-shivram.el6.noarch.rpm    
pxf-hdfs-3.2.1.0-shivram.el6.noarch.rpm     
pxf-hive-3.2.1.0-shivram.el6.noarch.rpm     
pxf-jdbc-3.2.1.0-shivram.el6.noarch.rpm     
pxf-json-3.2.1.0-shivram.el6.noarch.rpm     
pxf-service-3.2.1.0-shivram.el6.noarch.rpm
```
When the build number is set:
```
export BUILD_NUMBER=1
BUILD SUCCESSFUL
Total time: 43.94 secs
shivram:pxf shivram$ vim build/distributions/pxf-
pxf-3.2.1.0-1.el6.noarch.rpm          pxf-hbase-3.2.1.0-1.el6.noarch.rpm    
pxf-hdfs-3.2.1.0-1.el6.noarch.rpm     pxf-hive-3.2.1.0-1.el6.noarch.rpm     
pxf-jdbc-3.2.1.0-1.el6.noarch.rpm     pxf-json-3.2.1.0-1.el6.noarch.rpm     
pxf-service-3.2.1.0-1.el6.noarch.rpm
```

> Improve PXF rpm package name format and dependencies
> ----------------------------------------------------
>
>                 Key: HAWQ-1421
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1421
>             Project: Apache HAWQ
>          Issue Type: Improvement
>          Components: Build, PXF
>            Reporter: Radar Lei
>            Assignee: Shivram Mani
>             Fix For: 2.2.0.0-incubating
>
>
> If we build pxf rpm package by 'make rpm', we will get below pxf packages:
> {quote}
>   apache-tomcat-7.0.62-el6.noarch.rpm
>   pxf-3.2.1.0-root.el6.noarch.rpm
>   pxf-hbase_3_2_1_0-3.2.1.0-root.el6.noarch.rpm
>   pxf-hdfs_3_2_1_0-3.2.1.0-root.el6.noarch.rpm
>   pxf-hive_3_2_1_0-3.2.1.0-root.el6.noarch.rpm
>   pxf-jdbc_3_2_1_0-3.2.1.0-root.el6.noarch.rpm
>   pxf-json_3_2_1_0-3.2.1.0-root.el6.noarch.rpm
>   pxf-service_3_2_1_0-3.2.1.0-root.el6.noarch.rpm
> {quote}
> These rpm packages have dependencies on Apache Hadoop components only, some 
> other Hadoop distributes can't satisfy it. E.g. :
> {quote}
> rpm -ivh pxf-hdfs_3_2_1_0-3.2.1.0-root.el6.noarch.rpm
> error: Failed dependencies:
>       pxf-service_3_2_1_0 >= 3.2.1.0 is needed by 
> pxf-hdfs_3_2_1_0-0:3.2.1.0-root.el6.noarch
>       hadoop >= 2.7.1 is needed by pxf-hdfs_3_2_1_0-0:3.2.1.0-root.el6.noarch
>       hadoop-mapreduce >= 2.7.1 is needed by 
> pxf-hdfs_3_2_1_0-0:3.2.1.0-root.el6.noarch
> {quote}
> We'd better make the rpm package name format and dependencies better. 
>   1. Remove the version string like '3_2_1_0'.
>   2. Remove the user name from the build environment.
>   3. Consider do we need to include the apache-tomcat rpm package into HAWQ 
> rpm release tarball.
>   4. Improve the hard code 'el6' string. (This might be optinal)
>   5. Improve the dependencies, including the dependencies between these pxf 
> rpm packages.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to