You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by stanlyxiang <gi...@git.apache.org> on 2017/05/02 02:28:46 UTC
[GitHub] incubator-hawq pull request #1226: HAWQ-1447. Fix ranger build failure
GitHub user stanlyxiang opened a pull request:
https://github.com/apache/incubator-hawq/pull/1226
HAWQ-1447. Fix ranger build failure
@interma @zhangh43 @linwen @ictmalili pls review, thanks
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stanlyxiang/incubator-hawq HAWQ-1447
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/1226.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1226
----
commit 3558ab1484259f690691f0f28d1c423011632be4
Author: stanlyxiang <st...@gmail.com>
Date: 2017-04-28T17:09:59Z
HAWQ-1447. Fix ranger build failure
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq issue #1226: HAWQ-1447. Fix ranger build failure
Posted by zhangh43 <gi...@git.apache.org>.
Github user zhangh43 commented on the issue:
https://github.com/apache/incubator-hawq/pull/1226
+1
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq issue #1226: HAWQ-1447. Fix ranger build failure
Posted by linwen <gi...@git.apache.org>.
Github user linwen commented on the issue:
https://github.com/apache/incubator-hawq/pull/1226
I don't think it is a good way to explicitly copy jar files in Makefile, it should be done in mvn building file. So Xiang, would you like to make sure if this failure still exist?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq pull request #1226: HAWQ-1447. Fix ranger build failure
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-hawq/pull/1226
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq issue #1226: HAWQ-1447. Fix ranger build failure
Posted by interma <gi...@git.apache.org>.
Github user interma commented on the issue:
https://github.com/apache/incubator-hawq/pull/1226
Thanks a lot, @stanlyxiang
I see. +1
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq issue #1226: HAWQ-1447. Fix ranger build failure
Posted by edespino <gi...@git.apache.org>.
Github user edespino commented on the issue:
https://github.com/apache/incubator-hawq/pull/1226
@stanlyxiang - What is the status of this PR? It's been idle for over a month.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-hawq issue #1226: HAWQ-1447. Fix ranger build failure
Posted by stanlyxiang <gi...@git.apache.org>.
Github user stanlyxiang commented on the issue:
https://github.com/apache/incubator-hawq/pull/1226
I tested on my rhel7. After build rps rpm, there are 2 commands after the rpm generate.
`
[INFO] + cd /home/xsheng/hawq/incubator-hawq/ranger-plugin/target/rpm/hawq-ranger-plugin/BUILD
[INFO] + /usr/bin/rm -rf /home/xsheng/hawq/incubator-hawq/ranger-plugin/target/rpm/hawq-ranger-plugin/buildroot
`
Since previous install method is copying the ranger folder under buildroot, but now the content of BuildRoot is deleted automatically on rhel7. Because the rpmbuild version is 4.11.3.
I searched on the internet and found that the old version of rpmbuild will keep the folder and we can copy the files to installdir. But on rhel7 the rpmbuild is high version and will remove the buildroot. So the installation will fail.
There are some workarounds I haven't verified because they are required to modify the spec file when build rpm. But the spec file for build ranger-plugin rpm is generated automatically.
I checked rpmbuild version on my rhel6 and rhel7. RPM version 4.8.0 and RPM version 4.11.3. They all deleted the buildroot folder after build. So there is the pr. If you have any solution, please commets. Thanks in advance.
On my mac the rpm is "rpm (RPM) 5.4.15" and "rpmbuild (RPM) 5.4.15", it won't remove "buildroot". I think it's rpm5.
Concourse ci build and install the ranger-plugin.rpm separately so it's green. If we use rpm to install the ranger-plugin during hawq installation, we should use "rpm --prefix=/hawq/install/path ranger-plugin.rpm". But I tried and got an error:
`rpm: --prefix may only be used when installing new packages`. So it not reality for a community user or developer to rpm uninstall and rpm install everytime they have changes.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---