[
https://issues.apache.org/jira/browse/YETUS-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kai Zheng updated YETUS-222:
----------------------------
Attachment: YETUS-222-v2.patch
Updated the patch, removing the {{-Disal.lib}} option as it's not needed
actually. Tested locally in a docker box as follows.
{noformat}
drankye@53d757165f25:~/hadoop$ mvn clean package -Pdist -Pnative -Drequire.isal
-DskipTests
...
[INFO] Apache Hadoop Extras .............................. SUCCESS [1.517s]
[INFO] Apache Hadoop Pipes ............................... SUCCESS [8.070s]
[INFO] Apache Hadoop OpenStack support ................... SUCCESS [4.846s]
[INFO] Apache Hadoop Amazon Web Services support ......... SUCCESS [4.259s]
[INFO] Apache Hadoop Azure support ....................... SUCCESS [3.537s]
[INFO] Apache Hadoop Client .............................. SUCCESS [2.826s]
[INFO] Apache Hadoop Mini-Cluster ........................ SUCCESS [0.115s]
[INFO] Apache Hadoop Scheduler Load Simulator ............ SUCCESS [3.920s]
[INFO] Apache Hadoop Tools Dist .......................... SUCCESS [3.062s]
[INFO] Apache Hadoop Kafka Library support ............... SUCCESS [1.637s]
[INFO] Apache Hadoop Tools ............................... SUCCESS [0.014s]
[INFO] Apache Hadoop Distribution ........................ SUCCESS [23.642s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:37.729s
[INFO] Finished at: Fri Mar 25 04:31:14 UTC 2016
[INFO] Final Memory: 189M/480M
...
drankye@53d757165f25:~/hadoop$ find ./ -name erasure_code_test
./hadoop-common-project/hadoop-common/target/native/erasure_code_test
drankye@53d757165f25:~/hadoop$
./hadoop-common-project/hadoop-common/target/native/erasure_code_test
Performing erasure code test
Recovering (numAllUnits = 9, numDataUnits = 6, numErased = 2)
- ErasedIndexes = 1 7 - DecodeIndex = 2 3 4 5 6 8
EncodeMatrix:
1 0 0 0 0 0 0 1 0
0 0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0 0
0 1 0 0 0 0 0 0 1
122 186 71 167 142 244 186 122 167
71 244 142 173 157 221 152 61 170
InvertMatrix:
2 173 10 213 24 40
62 183 132 127 27 36
1 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 1 0 0
DecodeMatrix:
62 183 132 127 27 36 48 175 26
24 92 105 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
Successfully done, passed!
...
drankye@53d757165f25:~/hadoop$
{noformat}
> hadoop: add ISA-L support
> -------------------------
>
> Key: YETUS-222
> URL: https://issues.apache.org/jira/browse/YETUS-222
> Project: Yetus
> Issue Type: Improvement
> Components: Test Patch
> Reporter: Allen Wittenauer
> Assignee: Kai Zheng
> Attachments: YETUS-222-v1.patch, YETUS-222-v2.patch
>
>
> Hadoop personality should support building the native code under Jenkins when
> Docker is invoked.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)