[
https://issues.apache.org/jira/browse/HBASE-27265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil resolved HBASE-27265.
------------------------------------------
Resolution: Fixed
Thanks for the contribution, [~abhradeep.kundu] ! Had now merged this on master
and branch-2.
> Tool to read the contents of the storefile tracker file
> -------------------------------------------------------
>
> Key: HBASE-27265
> URL: https://issues.apache.org/jira/browse/HBASE-27265
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 2.6.0, 3.0.0-alpha-4
> Reporter: Abhradeep Kundu
> Assignee: Abhradeep Kundu
> Priority: Minor
> Fix For: 2.6.0, 3.0.0-alpha-4
>
>
> It will be useful to have a tool that provides an ability to read the
> contents of the tracker file (.filelist/f1 or f2)
> Using the hdfs -cat or -text displays the contents of the tracker file in
> binary and there is no option to show the contents in plain text.
> {code:java}
> x[cloudbreak@cod--z4t08rqbuyms-master0 ~]$ sudo hdfs dfs -text
> s3a://odx-qe-bucket/odx-d7v40h/audit/cod--z4t08rqbuyms/hbase/data/default/one/6126beb5b349a1eee4b92987b78f1058/cf/.filelist/f1
> 22/04/05 19:51:14 WARN impl.MetricsConfig: Cannot locate configuration: tried
> hadoop-metrics2-s3a-file-system.properties,hadoop-metrics2.properties
> 22/04/05 19:51:14 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot
> period at 10 second(s).
> 22/04/05 19:51:14 INFO impl.MetricsSystemImpl: s3a-file-system metrics system
> started
> 22/04/05 19:51:14 INFO s3a.IDBDelegationTokenBinding: There is no Knox Token
> available, fetching one from IDBroker...
> 22/04/05 19:51:14 INFO idbroker.AbstractIDBClient: Authenticating with
> IDBroker requires Kerberos
> 22/04/05 19:51:14 INFO idbroker.AbstractIDBClient: Kerberos credentials are
> available, using Kerberos to establish a session.
> UGI=hbase/cod--z4t08rqbuyms-master0.odx-d7v4.svbr-nqvp.int.cldr.w...@odx-d7v4.svbr-nqvp.int.cldr.work
> (auth:KERBEROS)
> Apr 05, 2022 7:51:14 PM org.apache.knox.gateway.shell.KnoxSession createClient
> INFO: Using default JAAS configuration
> 22/04/05 19:51:15 INFO s3a.IDBDelegationTokenBinding: Bonded to Knox token
> eyJqa3...OGdQmQ
> 22/04/05 19:51:15 INFO Configuration.deprecation: No unit for
> fs.s3a.connection.request.timeout(0) assuming SECONDS
> 22/04/05 19:51:15 INFO idbroker.AbstractIDBClient: Creating Knox CAB session
> using Knox DT eyJqa3...OGdQmQ ...
> 22/04/05 19:51:16 INFO s3a.S3AInputStream: Switching to Random IO seek policy
> ��/%
> 98ef4cf597be48598c8376bc1cac200d�&����22/04/05 19:51:16 INFO
> impl.MetricsSystemImpl: Stopping s3a-file-system metrics system...
> 22/04/05 19:51:16 INFO impl.MetricsSystemImpl: s3a-file-system metrics system
> stopped.
> 22/04/05 19:51:16 INFO impl.MetricsSystemImpl: s3a-file-system metrics system
> shutdown complete.{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)