[
https://issues.apache.org/jira/browse/HIVE-19871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511739#comment-16511739
]
Hive QA commented on HIVE-19871:
--------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m
1s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m
58s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m
39s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m
21s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 3m
4s{color} | {color:blue} standalone-metastore in master has 216 extant Findbugs
warnings. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m
59s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m
49s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m
40s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m
40s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m
21s{color} | {color:red} standalone-metastore: The patch generated 22 new + 547
unchanged - 1 fixed = 569 total (was 548) {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m
0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:red}-1{color} | {color:red} findbugs {color} | {color:red} 3m
13s{color} | {color:red} standalone-metastore generated 12 new + 216 unchanged
- 0 fixed = 228 total (was 216) {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m
56s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m
12s{color} | {color:green} The patch does not generate ASF License warnings.
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 19m 39s{color} |
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| FindBugs | module:standalone-metastore |
| | Possible null pointer dereference of checkConstraintCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_check_constraint(AddCheckConstraintRequest)
Dereferenced at HiveMetaStore.java:checkConstraintCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_check_constraint(AddCheckConstraintRequest)
Dereferenced at HiveMetaStore.java:[line 2385] |
| | Possible null pointer dereference of defaultConstraintCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_default_constraint(AddDefaultConstraintRequest)
Dereferenced at HiveMetaStore.java:defaultConstraintCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_default_constraint(AddDefaultConstraintRequest)
Dereferenced at HiveMetaStore.java:[line 2331] |
| | Possible null pointer dereference of foreignKeyCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_foreign_key(AddForeignKeyRequest)
Dereferenced at HiveMetaStore.java:foreignKeyCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_foreign_key(AddForeignKeyRequest)
Dereferenced at HiveMetaStore.java:[line 2172] |
| | Possible null pointer dereference of notNullConstraintCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_not_null_constraint(AddNotNullConstraintRequest)
Dereferenced at HiveMetaStore.java:notNullConstraintCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_not_null_constraint(AddNotNullConstraintRequest)
Dereferenced at HiveMetaStore.java:[line 2278] |
| | Possible null pointer dereference of primaryKeyCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_primary_key(AddPrimaryKeyRequest)
Dereferenced at HiveMetaStore.java:primaryKeyCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_primary_key(AddPrimaryKeyRequest)
Dereferenced at HiveMetaStore.java:[line 2119] |
| | Possible null pointer dereference of uniqueConstraintCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_unique_constraint(AddUniqueConstraintRequest)
Dereferenced at HiveMetaStore.java:uniqueConstraintCols in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_unique_constraint(AddUniqueConstraintRequest)
Dereferenced at HiveMetaStore.java:[line 2225] |
| | Nullcheck of checkConstraintCols at line 2385 of value previously
dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_check_constraint(AddCheckConstraintRequest)
At HiveMetaStore.java:2385 of value previously dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_check_constraint(AddCheckConstraintRequest)
At HiveMetaStore.java:[line 2385] |
| | Nullcheck of defaultConstraintCols at line 2331 of value previously
dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_default_constraint(AddDefaultConstraintRequest)
At HiveMetaStore.java:2331 of value previously dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_default_constraint(AddDefaultConstraintRequest)
At HiveMetaStore.java:[line 2331] |
| | Nullcheck of foreignKeyCols at line 2172 of value previously dereferenced
in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_foreign_key(AddForeignKeyRequest)
At HiveMetaStore.java:2172 of value previously dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_foreign_key(AddForeignKeyRequest)
At HiveMetaStore.java:[line 2172] |
| | Nullcheck of notNullConstraintCols at line 2278 of value previously
dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_not_null_constraint(AddNotNullConstraintRequest)
At HiveMetaStore.java:2278 of value previously dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_not_null_constraint(AddNotNullConstraintRequest)
At HiveMetaStore.java:[line 2278] |
| | Nullcheck of primaryKeyCols at line 2119 of value previously dereferenced
in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_primary_key(AddPrimaryKeyRequest)
At HiveMetaStore.java:2119 of value previously dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_primary_key(AddPrimaryKeyRequest)
At HiveMetaStore.java:[line 2119] |
| | Nullcheck of uniqueConstraintCols at line 2225 of value previously
dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_unique_constraint(AddUniqueConstraintRequest)
At HiveMetaStore.java:2225 of value previously dereferenced in
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.add_unique_constraint(AddUniqueConstraintRequest)
At HiveMetaStore.java:[line 2225] |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests | asflicense javac javadoc findbugs checkstyle compile |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian
3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux |
| Build tool | maven |
| Personality |
/data/hiveptest/working/yetus_PreCommit-HIVE-Build-11764/dev-support/hive-personality.sh
|
| git revision | master / 33e208c |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| checkstyle |
http://104.198.109.242/logs//PreCommit-HIVE-Build-11764/yetus/diff-checkstyle-standalone-metastore.txt
|
| findbugs |
http://104.198.109.242/logs//PreCommit-HIVE-Build-11764/yetus/new-findbugs-standalone-metastore.html
|
| modules | C: standalone-metastore U: standalone-metastore |
| Console output |
http://104.198.109.242/logs//PreCommit-HIVE-Build-11764/yetus.txt |
| Powered by | Apache Yetus http://yetus.apache.org |
This message was automatically generated.
> add_partitions, create constraint calls and create_table_with_constraints do
> not properly handle client being configured with a non-Hive catalog.
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-19871
> URL: https://issues.apache.org/jira/browse/HIVE-19871
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 3.0.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Major
> Attachments: HIVE-19871.patch
>
>
> If a client calls
> {{add_partitions(List<Partition> parts, boolean ifNotExists, boolean
> needResults)}}
> and the catalog name is set to a non-default value in the config file but
> unset in the partitions, the request to add the partition will fail with an
> error message "table not found" even when the table is valid.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)