question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not resolve hbase

See original GitHub issue

The error message is:

[error] 
[error] 1 error(s):
[error]   org.apache.hbase:${compat.module}:1.1.5:
[error]     not found: /home/hujianxin/.sbt/0.13/plugins/target/resolution-cache/org.apache.hbase/${compat.module}/1.1.5/resolved.xml.xml
[error]     Not found
[error]     not found: /home/hujianxin/.ivy2/local/org.apache.hbase/${compat.module}/1.1.5/ivys/ivy.xml
[error]     not found: https://repo1.maven.org/maven2/org/apache/hbase/$%7Bcompat.module%7D/1.1.5/$%7Bcompat.module%7D-1.1.5.pom
[error]     not found: /home/hujianxin/.m2/repository/org/apache/hbase/$%7Bcompat.module%7D/1.1.5/$%7Bcompat.module%7D-1.1.5.pom
[trace] Stack trace suppressed: run last *:coursierResolution for the full output.
[error] (*:coursierResolution) java.lang.Exception: Encountered 1 error(s) in dependency resolution
[error] Total time: 2 s, completed Aug 15, 2016 8:49:33 AM

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
alexarchambaultcommented, Sep 4, 2016

This seems to originate from the lack of support in coursier for profile activations like

<activation>
  <property>
    <name>!hadoop.profile</name>
  </property>
</activation>

that is, activation expecting a property not to be defined I guess (via the !). https://repo1.maven.org/maven2/org/apache/hbase/hbase/1.1.3/hbase-1.1.3.pom features one.

That shouldn’t be hard to fix.

1reaction
blazingsiyancommented, Aug 30, 2016

I got a similar issue. It seems coursier cannot parse ${compat.module} correctly my workaround:

“org.apache.hbase” % “hbase-server” % hbaseV exclude(“org.apache.hbase”, “${compat.module}”)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot resolve symbol hbase - Stack Overflow
I am new to HBase, I copied a sample java code from the internet, but I meet an error "Cannot resolve symbol hbase"...
Read more >
java client raises UnknownHostException: can not resolve ...
I'm using hbase-client 2.2.5, but version 1.6.0 rises the same problem. <!-- https://mvnrepository.com/artifact/org.apache ...
Read more >
Could not resolve org.apache.hbase:hbase-client:2.1.0-cdh6.2.1
While trying to compile the dependency "hbase-client:2.1.0-cdh6.2.1" in my Gradle Project, I come across this error: > Could not parse POM ...
Read more >
Apache HBase ™ Reference Guide
Use the bin/start-hbase.sh command to start HBase. If your system is configured correctly, the jps command should show the HMaster and HRegionServer ...
Read more >
java连接HBase,连接不上报错can not resolve - CSDN博客
将HBase的ip地址写在hosts中便可正常。 添加之后java就可以正常连接HBase了.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found