hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HADOOP-17125) Using snappy-java in SnappyCodec
Date Tue, 01 Sep 2020 20:12:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-17125?focusedWorklogId=477441&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-477441
]

ASF GitHub Bot logged work on HADOOP-17125:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Sep/20 20:11
            Start Date: 01/Sep/20 20:11
    Worklog Time Spent: 10m 
      Work Description: hadoop-yetus commented on pull request #2201:
URL: https://github.com/apache/hadoop/pull/2201#issuecomment-685104813


   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |:----:|----------:|--------:|:--------|
   | +0 :ok: |  reexec  |   1m 16s |  Docker mode activated.  |
   ||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  1s |  No case conflicting files found.  |
   | +1 :green_heart: |  @author  |   0m  0s |  The patch does not contain any @author tags.
 |
   | +1 :green_heart: |  test4tests  |   0m  0s |  The patch appears to include 5 new or modified
test files.  |
   ||| _ trunk Compile Tests _ |
   | +0 :ok: |  mvndep  |   3m 21s |  Maven dependency ordering for branch  |
   | +1 :green_heart: |  mvninstall  |  28m 58s |  trunk passed  |
   | +1 :green_heart: |  compile  |  22m 30s |  trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
 |
   | +1 :green_heart: |  compile  |  17m 40s |  trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
 |
   | +1 :green_heart: |  checkstyle  |   2m 52s |  trunk passed  |
   | +1 :green_heart: |  mvnsite  |   1m 53s |  trunk passed  |
   | +1 :green_heart: |  shadedclient  |  20m 51s |  branch has no errors when building and
testing our client artifacts.  |
   | +1 :green_heart: |  javadoc  |   0m 55s |  trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
 |
   | +1 :green_heart: |  javadoc  |   1m 54s |  trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
 |
   | +0 :ok: |  spotbugs  |   2m 14s |  Used deprecated FindBugs config; considering switching
to SpotBugs.  |
   | +0 :ok: |  findbugs  |   0m 28s |  branch/hadoop-project no findbugs output file (findbugsXml.xml)
 |
   ||| _ Patch Compile Tests _ |
   | +0 :ok: |  mvndep  |   0m 24s |  Maven dependency ordering for patch  |
   | +1 :green_heart: |  mvninstall  |   1m  2s |  the patch passed  |
   | -1 :x: |  compile  |   1m  5s |  root in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
 |
   | -1 :x: |  javac  |   1m  5s |  root in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
 |
   | -1 :x: |  compile  |   0m 57s |  root in the patch failed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.
 |
   | -1 :x: |  javac  |   0m 57s |  root in the patch failed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.
 |
   | -0 :warning: |  checkstyle  |   2m 38s |  root: The patch generated 2 new + 150 unchanged
- 6 fixed = 152 total (was 156)  |
   | +1 :green_heart: |  mvnsite  |   1m 23s |  the patch passed  |
   | +1 :green_heart: |  whitespace  |   0m  0s |  The patch has no whitespace issues.  |
   | +1 :green_heart: |  xml  |   0m  3s |  The patch has no ill-formed XML file.  |
   | +1 :green_heart: |  shadedclient  |  15m 31s |  patch has no errors when building and
testing our client artifacts.  |
   | +1 :green_heart: |  javadoc  |   0m 32s |  the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
 |
   | +1 :green_heart: |  javadoc  |   1m 31s |  the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
 |
   | +0 :ok: |  findbugs  |   0m 14s |  hadoop-project has no data from findbugs  |
   ||| _ Other Tests _ |
   | +1 :green_heart: |  unit  |   0m 13s |  hadoop-project in the patch passed.  |
   | -1 :x: |  unit  |   0m 40s |  hadoop-common in the patch failed.  |
   | +1 :green_heart: |  asflicense  |   0m 30s |  The patch does not generate ASF License
warnings.  |
   |  |   | 132m 34s |   |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/artifact/out/Dockerfile
|
   | GITHUB PR | https://github.com/apache/hadoop/pull/2201 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient
xml findbugs checkstyle |
   | uname | Linux 27c4814e0fe9 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC
2020 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | trunk / c7dab2b23e4 |
   | Default Java | Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01 |
   | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
/usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01 |
   | compile | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/artifact/out/patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
|
   | javac | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/artifact/out/patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
|
   | compile | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt
|
   | javac | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt
|
   | checkstyle | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/artifact/out/diff-checkstyle-root.txt
|
   | unit | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
|
   |  Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/testReport/
|
   | Max. process+thread count | 332 (vs. ulimit of 5500) |
   | modules | C: hadoop-project hadoop-common-project/hadoop-common U: . |
   | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2201/15/console
|
   | versions | git=2.17.1 maven=3.6.0 findbugs=4.0.6 |
   | Powered by | Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   


----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 477441)
    Time Spent: 0.5h  (was: 20m)

> Using snappy-java in SnappyCodec
> --------------------------------
>
>                 Key: HADOOP-17125
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17125
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: common
>    Affects Versions: 3.3.0
>            Reporter: DB Tsai
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In Hadoop, we use native libs for snappy codec which has several disadvantages:
>  * It requires native *libhadoop* and *libsnappy* to be installed in system *LD_LIBRARY_PATH*,
and they have to be installed separately on each node of the clusters, container images, or
local test environments which adds huge complexities from deployment point of view. In some
environments, it requires compiling the natives from sources which is non-trivial. Also, this
approach is platform dependent; the binary may not work in different platform, so it requires
recompilation.
>  * It requires extra configuration of *java.library.path* to load the natives, and it
results higher application deployment and maintenance cost for users.
> Projects such as *Spark* and *Parquet* use [snappy-java|[https://github.com/xerial/snappy-java]]
which is JNI-based implementation. It contains native binaries for Linux, Mac, and IBM in
jar file, and it can automatically load the native binaries into JVM from jar without any
setup. If a native implementation can not be found for a platform, it can fallback to pure-java
implementation of snappy based on [aircompressor|[https://github.com/airlift/aircompressor/tree/master/src/main/java/io/airlift/compress/snappy]].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message