Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBASE-22997 Move to SLF4J; addendum #28

Closed
wants to merge 1 commit into from

Conversation

petersomogyi
Copy link
Contributor

Add MIT to LICENSE.txt

Add MIT to LICENSE.txt
@asf-ci
Copy link

asf-ci commented Sep 10, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/PreCommit-HBASE-OPERATOR-TOOLS-Build/96/

Copy link
Contributor

@busbey busbey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be in the LICENSE file for artifacts we generate that include a copy of slf4j. We don't have it in our source repository, so it should not be in this top level LICENSE.

@petersomogyi
Copy link
Contributor Author

this should be in the LICENSE file for artifacts we generate that include a copy of slf4j. We don't have it in our source repository, so it should not be in this top level LICENSE.

Does it mean we need to add the MIT license when generating the tarball?

@busbey
Copy link
Contributor

busbey commented Sep 10, 2019

Yes, when we make a binary tarball that includes our dependencies we'll need to include it in that LICENSE.

Do we need to bundle slf4j though? won't it always be available from the hbase instance we're running against?

@petersomogyi
Copy link
Contributor Author

Do we need to bundle slf4j though? won't it always be available from the hbase instance we're running against?

slf4j-api-1.7.25.jar (the one that we currently include in the hbck2 tarball) is available in the hbase releases. I just checked 2.2.1RC and these files are there:

$ find . -name *slf4j*
./lib/client-facing-thirdparty/slf4j-api-1.7.25.jar
./lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar

Based on this I think we can just exclude the slf4j-api when generating the tar.gz file.

@busbey
Copy link
Contributor

busbey commented Sep 10, 2019

👍 I love shipping fewer bits 😸

I assume it'll be there for whatever HBase versions we want to use operator-tools with. The location might change, but since we're always run via the hbase command we should get a classpath that includes it.

@petersomogyi
Copy link
Contributor Author

Based on the above I'm closing this pull request. The exclusion should happen when we introduce the assembly module.

@petersomogyi petersomogyi deleted the HBASE-22997-MIT branch September 23, 2019 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants