-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run accumulo checks at WARN, and fix some easier spots (#2389)
* run accumulo import checks * Clean up some of the references to accumulo code * Adding a few more easy ones * Update missed reference to accumulo internal code * Add root location prefix to fix sub-dir builds Resolves the proper base directory for the import-control file so builds from sub-directories will still work. --------- Co-authored-by: Daniel Roberts <[email protected]>
- Loading branch information
Showing
11 changed files
with
67 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE import-control PUBLIC | ||
"-//Checkstyle//DTD ImportControl Configuration 1.4//EN" | ||
"https://checkstyle.org/dtds/import_control_1_4.dtd"> | ||
|
||
<!-- This checkstyle rule is configured to ensure only use of Accumulo API --> | ||
<import-control | ||
pkg="(| | ||
|datawave.*| | ||
|datawave\.common\.test.*| | ||
|datawave\.test.*| | ||
|gov.nsa.datawave.*)" regex="true" strategyOnMismatch="allowed"> | ||
<!-- API packages --> | ||
<allow pkg="org.apache.accumulo.core.client"/> | ||
<allow pkg="org.apache.accumulo.core.data"/> | ||
<allow pkg="org.apache.accumulo.core.security"/> | ||
<allow pkg="org.apache.accumulo.core.iterators"/> | ||
<allow pkg="org.apache.accumulo.minicluster"/> | ||
<allow pkg="org.apache.accumulo.hadoop.mapreduce"/> | ||
<allow pkg="org.apache.accumulo.core.spi"/> | ||
|
||
<!-- Temporarily allow some specific classes until accumulo | ||
team seperates parts of that into public api --> | ||
<allow class="org.apache.accumulo.core.conf.Property"/> | ||
<allow class="org.apache.accumulo.core.clientImpl.TabletLocator"/> | ||
|
||
<!-- disallow everything else coming from accumulo --> | ||
<disallow pkg="org.apache.accumulo"/> | ||
</import-control> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters