[
https://issues.apache.org/jira/browse/PHOENIX-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mehdi Salarkia updated PHOENIX-5363:
------------------------------------
Description:
Following instruction from Cloudera
[https://github.com/cloudera/cm_ext/wiki/Building-a-parcel]
Running the validation tools you'll see
{code:java}
$java -jar ./target/validator.jar -f
APACHE_PHOENIX-5.1.0-cdh6.1.1.p0.0-el6.parcel
Validating: APACHE_PHOENIX-5.1.0-cdh6.1.1.p0.0-el6.parcel
==> Warning: Parcel is not compressed with gzip
==> java.io.IOException: Error detected parsing the header
{code}
the reason is to parcel files are not built as tar.gz file but rather a tar
file.
A valid parcel file should look like this:
{code:java}
$ file GPLEXTRAS-5.16.2-1.cdh5.16.2.p0.8-el5.parcel
GPLEXTRAS-5.16.2-1.cdh5.16.2.p0.8-el5.parcel: gzip compressed data, last
modified: Mon Jun 3 13:25:50 2019, from Unix
{code}
while Phoenix Artifacts are
{code:java}
$ file APACHE_PHOENIX-4.14.1-cdh5.11.2.p0.0-el7.parcel
APACHE_PHOENIX-4.14.1-cdh5.11.2.p0.0-el7.parcel: POSIX tar archive
{code}
was:
Following instruction from Cloudera
[https://github.com/cloudera/cm_ext/wiki/Building-a-parcel]
to verify Phoenix CDH artifacts shows that the artifacts are not built as
tar.gz file but rather a tar file.
A valid parcel file should look like this:
{code:java}
$ file GPLEXTRAS-5.16.2-1.cdh5.16.2.p0.8-el5.parcel
GPLEXTRAS-5.16.2-1.cdh5.16.2.p0.8-el5.parcel: gzip compressed data, last
modified: Mon Jun 3 13:25:50 2019, from Unix
{code}
while Phoenix Artifacts are
{code:java}
$ file APACHE_PHOENIX-4.14.1-cdh5.11.2.p0.0-el7.parcel
APACHE_PHOENIX-4.14.1-cdh5.11.2.p0.0-el7.parcel: POSIX tar archive
{code}
> Phoenix parcel artifacts for CDH releases don't pass Cloudera verification
> tools test
> -------------------------------------------------------------------------------------
>
> Key: PHOENIX-5363
> URL: https://issues.apache.org/jira/browse/PHOENIX-5363
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.13.2-cdh, 5.1.0-cdh
> Reporter: Mehdi Salarkia
> Assignee: Mehdi Salarkia
> Priority: Minor
>
> Following instruction from Cloudera
> [https://github.com/cloudera/cm_ext/wiki/Building-a-parcel]
> Running the validation tools you'll see
> {code:java}
> $java -jar ./target/validator.jar -f
> APACHE_PHOENIX-5.1.0-cdh6.1.1.p0.0-el6.parcel
> Validating: APACHE_PHOENIX-5.1.0-cdh6.1.1.p0.0-el6.parcel
> ==> Warning: Parcel is not compressed with gzip
> ==> java.io.IOException: Error detected parsing the header
> {code}
> the reason is to parcel files are not built as tar.gz file but rather a tar
> file.
> A valid parcel file should look like this:
> {code:java}
> $ file GPLEXTRAS-5.16.2-1.cdh5.16.2.p0.8-el5.parcel
> GPLEXTRAS-5.16.2-1.cdh5.16.2.p0.8-el5.parcel: gzip compressed data, last
> modified: Mon Jun 3 13:25:50 2019, from Unix
> {code}
> while Phoenix Artifacts are
> {code:java}
> $ file APACHE_PHOENIX-4.14.1-cdh5.11.2.p0.0-el7.parcel
> APACHE_PHOENIX-4.14.1-cdh5.11.2.p0.0-el7.parcel: POSIX tar archive
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)