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.

hbase-client-1.3.1is protobuf-2.5 conflict with grpc-1.2.0 is protobuf-3.2 ,so how can I use this two package in one procket

See original GitHub issue

my pom file:

  <dependency>
			<groupId>org.apache.hbase</groupId>
			<artifactId>hbase-client</artifactId>
			<version>1.3.1</version>
			<exclusions>
				<exclusion>
					<groupId>io.netty</groupId>
					<artifactId>netty</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
               <dependency>
			<groupId>io.grpc</groupId>
			<artifactId>grpc-protobuf</artifactId>
			<version>1.2.0</version>
		</dependency>
		<dependency>
			<groupId>io.grpc</groupId>
			<artifactId>grpc-stub</artifactId>
			<version>1.2.0</version>
		</dependency>
		<dependency>
			<groupId>com.google.protobuf</groupId>
			<artifactId>protobuf-java</artifactId>
			<version>3.2.0</version>
		</dependency>

hbase-client 's protobuf conflict with grpc-1.2.0’s protobuf

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
ejona86commented, May 31, 2018

@markthegrea, I suggest “complain to HBase.”

0reactions
sduskiscommented, Dec 11, 2018

@mjpitz and @niyuelin1990, I think that the hbase-shaded-client artifact would solve this problem. Cloud Bigtable (see this pom.xml) and apache beam (see this builder.gradle) use it to avoid this problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Language Guide (proto3) | Protocol Buffers - Google Developers
This guide describes how to use the protocol buffer language to structure your protocol buffer data, including .proto file syntax and how to...
Read more >
can protobuf3 be used with protobuf2? - Google Groups
Yes, as long as you only use proto3 features, they are wire compatible. ... 1. All fields should be optional. 2. Do not...
Read more >
Conflict Protobuf version when using Opencv and Tensorflow ...
so file from tensorflow using bazel. but when I launch a c++ program that uses both Opencv and Tensorflow, it makes me the...
Read more >
Protobuf Schema Serializer and Deserializer
syntax = "proto3"; package com.acme; import "other.proto"; ... A schema can exist in multiple subjects, so you must delete the schema in each...
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