Could we add a protobuf version check to make the cause of the failure more
obvious?

On Fri, Nov 8, 2019, 16:56 Sudhir Pothineni <[email protected]>
wrote:

> Please ignore, Its working now, its protobuf version causing issues.
>
> On Thu, Nov 7, 2019 at 10:45 AM Sudhir Pothineni <
> [email protected]> wrote:
>
> > Hi Devs,
> >
> > I compiled https://github.com/apache/hbase-native-client
> >
> > zookeeper connection failing with the magic number.
> >
> > *zk-derializer-test:*
> >
> > Testing started at 10:26 AM ...
> > /home/spothineni/hbase/hbase-native-client-new/zk-deserializer-test
> > --gtest_filter=* --gtest_color=no
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > Running main() from gtest_main.cc
> > E1107 10:26:52.464273 133246 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =99
> > E1107 10:26:52.464500 133246 zk.cc:71] Error parsing Protobuf Message
> >
> > Process finished with exit code 0
> >
> > *simple-client:*
> >
> > /home/spothineni/hbase/hbase-native-client-new/simple-client
> > I1107 10:35:15.074136 136768 location-cache.cc:77] Connecting to
> > ZooKeeper. Quorum:mn-01:2181,mn-02:2181,mn-03:2181
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@log_env@712: Client
> > environment:zookeeper.version=zookeeper C client 3.4.5
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@log_env@716: Client environment:
> > host.name=spothineni-1
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@log_env@723: Client environment:
> > os.name=Linux
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@log_env@724: Client
> > environment:os.arch=3.10.0-862.9.1.el7.x86_64
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@log_env@725: Client
> > environment:os.version=#1 SMP Mon Jul 16 16:29:36 UTC 2018
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@log_env@733: Client environment:
> > user.name=spothineni
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@log_env@741: Client
> > environment:user.home=/home/spothineni
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@log_env@753: Client
> > environment:user.dir=/home/spothineni/hbase/hbase-native-client-new
> > 2019-11-07 10:35:15,074:136768:ZOO_INFO@zookeeper_init@786: Initiating
> > client connection, host=mn-01:2181,mn-02:2181,mn-03:2181
> > sessionTimeout=60000 watcher=(nil) sessionId=0 sessionPasswd=<null>
> > context=(nil) flags=0
> > I1107 10:35:15.076892 136768 simple-client.cc:116] Sending put requests
> > E1107 10:35:15.077150 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:15.187765 136790 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:15.398283 136789 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:15.708904 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:16.219718 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:17.230399 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:19.251626 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:23.255967 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:33.254624 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > E1107 10:35:43.305042 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> > W1107 10:35:43.305225 136791 async-rpc-retrying-caller.cc:121] Locate
> > 'test-12345000' in default::test failed with e.what()=<unknown
> exception>,
> > tries = 10, maxAttempts = 36, timeout = 1200000 ms, time elapsed = 28228
> ms
> > E1107 10:35:53.354418 136792 zk.cc:47] Magic number not in ZK znode data
> > expected 255 got =0
> >
> >
> > Any clues?
> >
> > Thanks
> > Sudhir
> >
>
> --
> ------------------------
> This message is for the named person(s) use only.
> It may contain confidential proprietary or legally privileged information.
> No confidentiality or privilege is waived or lost by any mistransmission.
> If you receive this message in error, please immediately delete it and all
> copies of it from your system, destroy any hard copies of it and notify
> the
> sender. You must not, directly or indirectly use, disclose,distribute,
> print, or copy any part of this message if you are not the intended
> recipient. Allston Trading LLC and its subsidiaries and affiliates each
> reserve the right to monitor all e-mail communications through its
> networks. Any views expressed in this message are those of the individual
> sender, except where the message states otherwise and the sender is
> authorized to state them to be the views of any such entity.
>
> ------------------------
>

Reply via email to