[ 
https://issues.apache.org/jira/browse/HDDS-15732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-15732:
------------------------------------
    Description: 
Even after HDDS-15668, {{ozone repair}} shows warnings about using deprecated 
methods.

{code}
$ ozone repair om compact --column-family fileTable --service-id omservice 
--node-id om1 --blc 2
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by 
org.apache.hadoop.util.NativeCodeLoader in an unnamed module 
(file:/opt/hadoop/share/ozone/lib/hadoop-common-3.4.3.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers 
in this module
WARNING: Restricted methods will be blocked in a future release unless native 
access is enabled
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by 
com.google.protobuf.UnsafeUtil$MemoryAccessor 
(file:/opt/hadoop/share/ozone/lib/protobuf-java-3.25.9.jar)
WARNING: Please consider reporting this to the maintainers of class 
com.google.protobuf.UnsafeUtil$MemoryAccessor
WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
Compaction request issued for om.db of om node: om1, column-family: fileTable 
with bottommost level compaction: kForce.
{code}

  was:
Even after HDDS-15668, {{ozone repair}} shows warnings about using deprecated 
methods.

{code}
$ ozone repair om compact --column-family fileTable
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by 
org.apache.hadoop.util.NativeCodeLoader in an unnamed module 
(file:/opt/hadoop/share/ozone/lib/hadoop-common-3.4.3.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers 
in this module
WARNING: Restricted methods will be blocked in a future release unless native 
access is enabled
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by 
com.google.protobuf.UnsafeUtil$MemoryAccessor 
(file:/opt/hadoop/share/ozone/lib/protobuf-java-3.25.9.jar)
WARNING: Please consider reporting this to the maintainers of class 
com.google.protobuf.UnsafeUtil$MemoryAccessor
WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
Compaction request issued for om.db of om node: om1, column-family: fileTable 
with bottommost level compaction: kForce.
{code}


> ozone repair shows deprecation warnings
> ---------------------------------------
>
>                 Key: HDDS-15732
>                 URL: https://issues.apache.org/jira/browse/HDDS-15732
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> Even after HDDS-15668, {{ozone repair}} shows warnings about using deprecated 
> methods.
> {code}
> $ ozone repair om compact --column-family fileTable --service-id omservice 
> --node-id om1 --blc 2
> WARNING: A restricted method in java.lang.System has been called
> WARNING: java.lang.System::loadLibrary has been called by 
> org.apache.hadoop.util.NativeCodeLoader in an unnamed module 
> (file:/opt/hadoop/share/ozone/lib/hadoop-common-3.4.3.jar)
> WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for 
> callers in this module
> WARNING: Restricted methods will be blocked in a future release unless native 
> access is enabled
> WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
> WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by 
> com.google.protobuf.UnsafeUtil$MemoryAccessor 
> (file:/opt/hadoop/share/ozone/lib/protobuf-java-3.25.9.jar)
> WARNING: Please consider reporting this to the maintainers of class 
> com.google.protobuf.UnsafeUtil$MemoryAccessor
> WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
> Compaction request issued for om.db of om node: om1, column-family: fileTable 
> with bottommost level compaction: kForce.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to