[
https://issues.apache.org/jira/browse/DRILL-7780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17180715#comment-17180715
]
ASF GitHub Bot commented on DRILL-7780:
---------------------------------------
nescohen commented on pull request #2097:
URL: https://github.com/apache/drill/pull/2097#issuecomment-676559229
@cgivre, ah thank you. That makes sense. Somehow I accidentally deleted my
original comment. Here is the error for anyone wondering:
```
[ERROR] Failed to execute goal on project drill-format-mapr: Could not
resolve dependencies for project
org.apache.drill.contrib:drill-format-mapr:jar:1.18.0-SNAPSHOT: The following
artifacts could not be resolved: com.mapr.hadoop:maprfs:jar:6.1.0-mapr,
org.apache.hbase:hbase-client:jar:1.1.1-mapr-1602-m7-5.2.0: Could not transfer
artifact com.mapr.hadoop:maprfs:jar:6.1.0-mapr from/to mapr-releases
(http://repository.mapr.com/maven/): GET request of:
com/mapr/hadoop/maprfs/6.1.0-mapr/maprfs-6.1.0-mapr.jar from mapr-releases
failed: Premature end of Content-Length delimited message body (expected:
67,884,262; received: 1,179,648) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <args> -rf :drill-format-mapr
##[error]Process completed with exit code 1.
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> Potentially Erroneous String Comparison by reference
> ----------------------------------------------------
>
> Key: DRILL-7780
> URL: https://issues.apache.org/jira/browse/DRILL-7780
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Nes Cohen
> Priority: Minor
> Labels: easyfix, pull-request-available
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Comparing strings in java by reference, even the empty string, can be
> problematic because two "equal" strings may be different objects with
> different references.
> This occurs notably in two locations:
> [https://github.com/apache/drill/blob/0726b83d9347cbb8bd1bc64a8d10c12c1125549a/exec/java-exec/src/main/java/org/apache/drill/exec/server/BootStrapContext.java#L142]
> [https://github.com/apache/drill/blob/0726b83d9347cbb8bd1bc64a8d10c12c1125549a/common/src/main/java/org/apache/drill/common/KerberosUtil.java#L50|https://github.com/nescohen/drill/blob/0726b83d9347cbb8bd1bc64a8d10c12c1125549a/common/src/main/java/org/apache/drill/common/KerberosUtil.java#L50]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)