ChenSammi commented on code in PR #10305:
URL: https://github.com/apache/ozone/pull/10305#discussion_r3267544885


##########
pom.xml:
##########
@@ -2633,5 +2633,126 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>native</id>
+      <activation>
+        <os>
+          <family>linux</family>
+          <arch>x86_64</arch>
+        </os>
+        <property>
+          <name>fetch-native-hadoop</name>
+        </property>
+      </activation>

Review Comment:
   ```
   mvn clean package -DskipTests -Dmaven.javadoc.skip=true -s 
~/workspace/tools/apache-maven-3.6.0/conf/settings-apache.xml -T 6 
-Pdist,native,native-mac
   
   sammi@X3HF9K66K7 target % ls -al ./ozone-2.1.0-SNAPSHOT/lib/native/
   total 2056
   drwxr-xr-x  6 sammi  staff     192 May 19 23:17 .
   drwxr-xr-x  3 sammi  staff      96 May 19 23:17 ..
   lrwxr-xr-x  1 sammi  staff      28 May 19 23:17 libhadoop.dylib -> 
libhadoop_osx_aarch_64.dylib
   lrwxr-xr-x  1 sammi  staff      25 May 19 23:17 libhadoop.so -> 
libhadoop_linux_x86_64.so
   -rw-r--r--  1 sammi  staff  890256 May 19 23:17 libhadoop_linux_x86_64.so
   -rw-r--r--  1 sammi  staff  157368 May 19 23:17 libhadoop_osx_aarch_64.dylib
   sammi@X3HF9K66K7 target % tar -tvf ozone-2.1.0-SNAPSHOT.tar.gz| grep 
libhadoop
   lrwxr-xr-x  0 sammi  staff        0 May 19 23:17 
ozone-2.1.0-SNAPSHOT/lib/native/libhadoop.dylib -> libhadoop_osx_aarch_64.dylib
   -rw-r--r--  0 sammi  staff   157368 May 19 23:17 
ozone-2.1.0-SNAPSHOT/lib/native/libhadoop_osx_aarch_64.dylib
   -rw-r--r--  0 sammi  staff   890256 May 19 23:17 
ozone-2.1.0-SNAPSHOT/lib/native/libhadoop_linux_x86_64.so
   lrwxr-xr-x  0 sammi  staff        0 May 19 23:17 
ozone-2.1.0-SNAPSHOT/lib/native/libhadoop.so -> libhadoop_linux_x86_64.so
   ```
   



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to