2012-03-28 11:33:28 -04:00
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<FindBugsFilter>
|
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.hbase.thrift2.generated"/>
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.hbase.thrift.generated"/>
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.hbase.rest.protobuf.generated"/>
|
|
|
|
</Match>
|
2012-03-30 19:57:24 -04:00
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.hbase.protobuf.generated"/>
|
2012-04-05 19:05:07 -04:00
|
|
|
</Match>
|
2012-10-23 12:11:19 -04:00
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Package name="org.apache.hadoop.hbase.coprocessor.example.generated"/>
|
|
|
|
</Match>
|
2012-04-05 19:05:07 -04:00
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost" />
|
|
|
|
<Or>
|
|
|
|
<Method name="preExists" />
|
|
|
|
<Method name="preCheckAndPut" />
|
|
|
|
<Method name="preCheckAndDelete" />
|
|
|
|
<Method name="preScannerNext" />
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="NP_BOOLEAN_RETURN_NULL" />
|
|
|
|
</Match>
|
|
|
|
|
2012-09-20 18:51:30 -04:00
|
|
|
<!-- This is read by a thread from hadoop and findbugs never finds it -->
|
|
|
|
<Match>
|
|
|
|
<Bug code="UrF"/>
|
2012-11-06 18:22:01 -05:00
|
|
|
<Class name="org.apache.hadoop.hbase.metrics.BaseSourceImpl"/>
|
2012-09-20 18:51:30 -04:00
|
|
|
</Match>
|
|
|
|
|
2012-04-05 19:05:07 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.regionserver.StoreFile$Writer" />
|
|
|
|
<Bug pattern="NP_NULL_PARAM_DEREF" />
|
|
|
|
</Match>
|
2012-03-30 19:57:24 -04:00
|
|
|
|
2012-04-23 04:46:42 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader"/>
|
|
|
|
<Or>
|
|
|
|
<Method name="addFileInfoToException" />
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="REC_CATCH_EXCEPTION" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.KeyValue"/>
|
|
|
|
<Or>
|
|
|
|
<Method name="createEmptyByteArray" />
|
|
|
|
<Method name="createByteArray" />
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="INT_VACUOUS_COMPARISON" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.regionserver.LruHashMap"/>
|
|
|
|
<Or>
|
|
|
|
<Method name="equals" />
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="EQ_UNUSUAL" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.util.ByteBufferUtils"/>
|
|
|
|
<Or>
|
|
|
|
<Method name="putInt" />
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.mapreduce.MultithreadedTableMapper"/>
|
|
|
|
<Or>
|
|
|
|
<Method name="MapRunner" />
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="REC_CATCH_EXCEPTION" />
|
|
|
|
</Match>
|
|
|
|
|
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.util.PoolMap$RoundRobinPool"/>
|
|
|
|
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
|
|
|
|
</Match>
|
|
|
|
|
2012-04-25 21:58:58 -04:00
|
|
|
<Match>
|
|
|
|
<Class name="org.apache.hadoop.hbase.regionserver.HRegion" />
|
|
|
|
<Or>
|
|
|
|
<Method name="startRegionOperation" />
|
|
|
|
<Method name="startBulkRegionOperation" />
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="UL_UNRELEASED_LOCK" />
|
|
|
|
</Match>
|
|
|
|
|
2012-03-28 11:33:28 -04:00
|
|
|
</FindBugsFilter>
|