You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "taz1988 (via GitHub)" <gi...@apache.org> on 2023/06/22 13:03:02 UTC

[GitHub] [nifi] taz1988 opened a new pull request, #7423: NIFI-11741: Add guava lib to nifi-ranger-resource project, in order t…

taz1988 opened a new pull request, #7423:
URL: https://github.com/apache/nifi/pull/7423

   …o include it into the ext/ranger/install/lib/ directory during assembly the artifact
   
   <!-- Licensed to the Apache Software Foundation (ASF) under one or more -->
   <!-- contributor license agreements.  See the NOTICE file distributed with -->
   <!-- this work for additional information regarding copyright ownership. -->
   <!-- The ASF licenses this file to You under the Apache License, Version 2.0 -->
   <!-- (the "License"); you may not use this file except in compliance with -->
   <!-- the License.  You may obtain a copy of the License at -->
   <!--     http://www.apache.org/licenses/LICENSE-2.0 -->
   <!-- Unless required by applicable law or agreed to in writing, software -->
   <!-- distributed under the License is distributed on an "AS IS" BASIS, -->
   <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
   <!-- See the License for the specific language governing permissions and -->
   <!-- limitations under the License. -->
   
   # Summary
   
   [NIFI-11741](https://issues.apache.org/jira/browse/NIFI-11741)
   
   Fix No class def found error. It happens if nifi build with include-ranger option and try to use credentialsbuilder
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [x] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI-11741) issue created
   
   ### Pull Request Tracking
   
   - [x] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000`
   - [x] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000`
   
   ### Pull Request Formatting
   
   - [x] Pull Request based on current revision of the `main` branch
   - [x] Pull Request refers to a feature branch with one commit containing changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request creation.
   
   After the fix, if I executed ```java -cp "nifi-assembly/target/nifi-2.0.0-SNAPSHOT-bin/nifi-2.0.0-SNAPSHOT/ext/ranger/install/lib/*" org.apache.ranger.credentialapi.buildks create sslTrustStore -value "test" -provider "jceks://file/<<absolute_path>>/test2.jceks"``` the no class def found error doesn't happened anymore.
   
   ### Build
   
     - [x] Build completed using `mvn clean install -P contrib-check`
     - [x] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nifi] exceptionfactory closed pull request #7423: NIFI-11741: Add guava lib to nifi-ranger-resource project, in order t…

Posted by "exceptionfactory (via GitHub)" <gi...@apache.org>.
exceptionfactory closed pull request #7423: NIFI-11741: Add guava lib to nifi-ranger-resource project, in order t…
URL: https://github.com/apache/nifi/pull/7423


-- 
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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nifi] taz1988 commented on pull request #7423: NIFI-11741: Add guava lib to nifi-ranger-resource project, in order t…

Posted by "taz1988 (via GitHub)" <gi...@apache.org>.
taz1988 commented on PR #7423:
URL: https://github.com/apache/nifi/pull/7423#issuecomment-1608937990

   @exceptionfactory thanks for doing the change! I thinked about that solution too. In the meantime I was able to track it down, that the problem exist since guava version update - https://issues.apache.org/jira/browse/NIFI-11645 If you build code before that everything is good, but after it it is happen this missing jar error. Not 100% sure why this cause that issue


-- 
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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nifi] taz1988 commented on pull request #7423: NIFI-11741: Add guava lib to nifi-ranger-resource project, in order t…

Posted by "taz1988 (via GitHub)" <gi...@apache.org>.
taz1988 commented on PR #7423:
URL: https://github.com/apache/nifi/pull/7423#issuecomment-1603185486

   I tried to investigate what is changed (The ranger version is not changed between 1.21.0 and 1.22). Try to spend more time tomorrow to figure out what is happening


-- 
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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org