Uh oh!
There was an error while loading. Please reload this page.
HBASE-23015 : Moving from Jackson2 to shaded Gson (Backport HBASE-20587) - #616
Conversation
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
busbey
commented
Sep 12, 2019
Is this a backport of HBASE-20587 or all new? |
virajjasani
commented
Sep 12, 2019
Except for supplemental-models.xml and adding hbase-shaded-miscellaneous dependency, mostly this is backport of HBASE-20587 for relevant files(a couple of files on branch-1 don't have Jackson2 and hence, unchanged in this PR) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
busbey
commented
Sep 14, 2019
This is looking great! I still need to try using it with a downstream project and after that I think it'll be good to go. When we commit this it needs to go to all branches-1. |
Sure, in the meanwhile let me work on preparing backport patch for branch-1.4 and 1.3 if they have significant changes involved? Update: It seems backport to branch-1.4 doesn't require extra effort, however branch-1.3 does |
busbey
commented
Sep 17, 2019
ugh. Can't believe I didn't think of jdk requirements. Just built this on branch-1 with Let me think about what's going to be faster here. We could exclude the stuff other than gson or we could see if updating the dependencies of hbase-thirdparty to be jdk7 compatible. I know guava still works for jdk7 if we use the "android" variant instead of "jre". |
busbey
commented
Sep 20, 2019
I have some ideas on moving this forward. discussion on HBASE-23052 |
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
busbey
commented
Sep 25, 2019
Okay! a new version of the hbase-thirdparty library is out now and includes a jdk7 compatible relocated GSON. I just published it on the ASF nexus, so it might take a bit for it to show up in maven central. When it does you should be able to update this PR to use the following dependency: |
virajjasani
commented
Sep 25, 2019
That's great! Thanks @busbey |
virajjasani
commented
Sep 25, 2019
Uh oh!
There was an error while loading. Please reload this page.
busbey
commented
Sep 25, 2019
Building with Need to update |
busbey
left a comment
There was a problem hiding this comment.
with the addition of the shaded jar check, I can successfully build with the release profile and verify that the jars we produce are usable downstream (checked by building YCSB with some local changes to allow use of the shaded testing util).
Also the module is visible in Maven Central now:
https://search.maven.org/artifact/org.apache.hbase.thirdparty/hbase-shaded-gson/3.0.0/jar
busbey
commented
Sep 25, 2019
I plan to merge this tonight and get it back-ported to branch-1.4 as well, unless someone else has more feedback. |
Apache-HBase
commented
Sep 26, 2019
💔 -1 overall
This message was automatically generated. |
busbey
commented
Sep 26, 2019
This is concerning, but unrelated. I'll chase it down later.
this is HBASE-22732
Not related AFAICT. |
* Backport HBASE-20587 * moving to shaded gson with jdk7 compatibility * Include jackson-mapper-asl for testing-util because of Hadoop * Update shaded jar check to allow hbase-thirdparty libs Signed-off-by: Sean Busbey <busbey@apache.org> Co-authored-by: Duo Zhang <zhangduo@apache.org>
* Backport HBASE-20587 * moving to shaded gson with jdk7 compatibility * Include jackson-mapper-asl for testing-util because of Hadoop * Update shaded jar check to allow hbase-thirdparty libs Signed-off-by: Sean Busbey <busbey@apache.org> Co-authored-by: Duo Zhang <zhangduo@apache.org>
No description provided.