guyuqi commented on PR #940:
URL: https://github.com/apache/bigtop/pull/940#issuecomment-1180347142
It's pretty convenient for us to test Mapck.
Thanks for working on it. @kevinw66
Verified it on x86.
But there is something tricky on Arm64 that the `Maven` was not preinstalled
in the aarch64 base docker image( `Centos:7`) .
So the issues occurred:
```
Installing Bigtop Ambari Mpack
./build-containers.sh: line 66: mvn: command not found
lstat
/home/linux/yuqi/bigtop/bigtop-packages/src/common/bigtop-ambari-mpack/bgtp-ambari-mpack/target:
no such file or directory
Using python /usr/bin/python
Installing management pack
/usr/lib/ambari-server/lib/ambari_commons/subprocess32.py:156:
RuntimeWarning: The _posixsubprocess module is not being used. Could not import
it from ambari_commons.libs.aarch64 Child process reliability may suffer if
your program uses threads.
"program uses threads.", RuntimeWarning)
ERROR: Download /bgtp-ambari-mpack-1.0.0.0-SNAPSHOT-bgtp-ambari-mpack.tar.gz
with python lib [urllib2] failed with error: (<type 'exceptions.ValueError'>,
ValueError('unknown url type:
/bgtp-ambari-mpack-1.0.0.0-SNAPSHOT-bgtp-ambari-mpack.tar.gz',), <traceback
object at 0xffff9247cb00>)
Trying to download
/bgtp-ambari-mpack-1.0.0.0-SNAPSHOT-bgtp-ambari-mpack.tar.gz to
/var/lib/ambari-server/data/tmp/bgtp-ambari-mpack-1.0.0.0-SNAPSHOT-bgtp-ambari-mpack.tar.gz
with [curl] command.
ERROR: Download file
/bgtp-ambari-mpack-1.0.0.0-SNAPSHOT-bgtp-ambari-mpack.tar.gz with [curl]
command failed with error: curl: (3) <url> malformed
ERROR: Unable to download file
/bgtp-ambari-mpack-1.0.0.0-SNAPSHOT-bgtp-ambari-mpack.tar.gz!
ERROR: unable to donwload file
/bgtp-ambari-mpack-1.0.0.0-SNAPSHOT-bgtp-ambari-mpack.tar.gz!
ERROR: Management pack could not be downloaded!
ERROR: Exiting with exit code -1.
REASON: Management pack could not be downloaded!
Using python /usr/bin/python
Restarting ambari-server
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]