Skip to content

Conversation

@iwasakims
Copy link
Member

https://issues.apache.org/jira/browse/BIGTOP-4515

Change from -Phadoop-3.0 to -Dhadoop.profile=3.0 is crucial for adopting Hadoop 3.4. DummyDFSOutputStream added by HBASE-29865 was unintentionally excluded by configuration of hadoop-2.0 profile without this.

In addition, I added work around to add read permission on rpmbuild. On my container environment of Rocky Linux 9 aarch64, files under SOURCES directory have not read permission and break the sed command execution.

+ /usr/bin/cp /bigtop-home/build/hbase/rpm/SOURCES/regionserver-init.d.tpl /bigtop-home/build/hbase/rpm/BUILDROOT/hbase-2.6.4-1.el9.aarch64//etc/rc.d/init.d/hbase-regionserver
+ /usr/bin/sed -i -e 's|@INIT_DEFAULT_START@|3 4 5|' /bigtop-home/build/hbase/rpm/BUILDROOT/hbase-2.6.4-1.el9.aarch64//etc/rc.d/init.d/hbase-regionserver
+ /usr/bin/sed -i -e 's|@INIT_DEFAULT_STOP@|0 1 2 6|' /bigtop-home/build/hbase/rpm/BUILDROOT/hbase-2.6.4-1.el9.aarch64//etc/rc.d/init.d/hbase-regionserver
/usr/bin/sed: can't read /bigtop-home/build/hbase/rpm/BUILDROOT/hbase-2.6.4-1.el9.aarch64//etc/rc.d/init.d/hbase-regionserver: Permission denied
error: Bad exit status from /var/tmp/rpm-tmp.vgMyLQ (%install)

@iwasakims
Copy link
Member Author

Smoke-tests of hbase passed on Ubuntu 24.04 x86_64 and Rocky Linux 9 aarch64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant