|
@@ -16,6 +16,19 @@
|
|
limitations under the License.
|
|
limitations under the License.
|
|
-->
|
|
-->
|
|
<FindBugsFilter>
|
|
<FindBugsFilter>
|
|
|
|
+ <!-- Workaround bugs in findbugs 1.3.9. See http://sourceforge.net/p/findbugs/bugs/918 for more details. -->
|
|
|
|
+ <Match>
|
|
|
|
+ <Or>
|
|
|
|
+ <Package name="org.apache.hadoop.streaming" />
|
|
|
|
+ <Class name="org.apache.hadoop.record.compiler.JFile" />
|
|
|
|
+ </Or>
|
|
|
|
+ <Bug pattern="NP_ALWAYS_NULL"/>
|
|
|
|
+ </Match>
|
|
|
|
+ <Match>
|
|
|
|
+ <Class name="org.apache.hadoop.streaming.JarBuilder" />
|
|
|
|
+ <Bug pattern="NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS"/>
|
|
|
|
+ </Match>
|
|
|
|
+
|
|
<Match>
|
|
<Match>
|
|
<Or>
|
|
<Or>
|
|
<Class name="org.apache.hadoop.streaming.PipeMapper" />
|
|
<Class name="org.apache.hadoop.streaming.PipeMapper" />
|
|
@@ -27,4 +40,32 @@
|
|
</Or>
|
|
</Or>
|
|
<Bug pattern="EI_EXPOSE_REP"/>
|
|
<Bug pattern="EI_EXPOSE_REP"/>
|
|
</Match>
|
|
</Match>
|
|
|
|
+
|
|
|
|
+ <Match>
|
|
|
|
+ <Package name="org.apache.hadoop.record.compiler.generated" />
|
|
|
|
+ </Match>
|
|
|
|
+
|
|
|
|
+ <Match>
|
|
|
|
+ <Package name="org.apache.hadoop.record" />
|
|
|
|
+ <Or>
|
|
|
|
+ <Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
+ <Bug pattern="EI_EXPOSE_REP2" />
|
|
|
|
+ <Bug pattern="MS_PKGPROTECT" />
|
|
|
|
+ </Or>
|
|
|
|
+ </Match>
|
|
|
|
+
|
|
|
|
+ <Match>
|
|
|
|
+ <Class name="org.apache.hadoop.record.meta.Utils" />
|
|
|
|
+ <Method name="skip" />
|
|
|
|
+ <Bug pattern="BC_UNCONFIRMED_CAST" />
|
|
|
|
+ </Match>
|
|
|
|
+
|
|
|
|
+ <!--
|
|
|
|
+ The compareTo method is actually a dummy method that just
|
|
|
|
+ throws excpetions. So, no need to override equals. Ignore
|
|
|
|
+ -->
|
|
|
|
+ <Match>
|
|
|
|
+ <Class name="org.apache.hadoop.record.meta.RecordTypeInfo" />
|
|
|
|
+ <Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
|
|
|
|
+ </Match>
|
|
</FindBugsFilter>
|
|
</FindBugsFilter>
|