Home > OS >  Phoenix was built secondary indexes
Phoenix was built secondary indexes

Time:10-01

Execute the/usr/HDP/current/hbase - client/bin/hbase org. Apache. Phoenix. Graphs. Index. IndexTool -- -- schema phoenix - data - table TEST - index - table test_index - output - path ASYNC_IDX_HFILES

Error:
The 2019-08-20 09:44:59, WARN 604 [main] tool. LoadIncrementalHFiles: Skipping non - directory HDFS://BigData/user/hive/ASYNC_IDX_HFILES/PHOENIX. TEST_INDEX/_SUCCESS
The 2019-08-20 09:44:59, 806 INFO [main] impl. MetricsConfig: the Loaded properties from hadoop - metrics2 - hbase. Properties
The 2019-08-20 09:44:59, 824 WARN [main] impl. MetricsSystemImpl: Error creating sink "timeline"
Org, apache hadoop. Metrics2. Impl. MetricsConfigException: Error creating plugins: org.. Apache hadoop. Metrics2. Sink. Timeline. HadoopTimelineMetricsSink
At org, apache hadoop. Metrics2. Impl. MetricsConfig. GetPlugin (MetricsConfig. Java: 210)
At org, apache hadoop. Metrics2. Impl. MetricsSystemImpl. NewSink (MetricsSystemImpl. Java: 531)
At org, apache hadoop. Metrics2. Impl. MetricsSystemImpl. ConfigureSinks (MetricsSystemImpl. Java: 503)
At org, apache hadoop. Metrics2. Impl. MetricsSystemImpl. Configure (MetricsSystemImpl. Java: 479)
At org, apache hadoop. Metrics2. Impl. MetricsSystemImpl. Start (MetricsSystemImpl. Java: 188)
At org, apache hadoop. Metrics2. Impl. MetricsSystemImpl. Init (MetricsSystemImpl. Java: 163)
At org, apache hadoop. Metrics2. Lib. DefaultMetricsSystem. Init (DefaultMetricsSystem. Java: 62)
At org, apache hadoop. Metrics2. Lib. DefaultMetricsSystem. The initialize (58) DefaultMetricsSystem. Java:
At org, apache hadoop. Hbase. Metrics. BaseSourceImpl $DefaultMetricsSystemInitializer. Init (BaseSourceImpl. Java: 54)
At org, apache hadoop. Hbase. Metrics. BaseSourceImpl. & lt; init> (BaseSourceImpl. Java: 116)
At org, apache hadoop. Hbase. IO. MetricsIOSourceImpl. & lt; init> (MetricsIOSourceImpl. Java: 46)
At org, apache hadoop. Hbase. IO. MetricsIOSourceImpl. & lt; init> (MetricsIOSourceImpl. Java: 38)
At org, apache hadoop. Hbase. Regionserver. MetricsRegionServerSourceFactoryImpl. CreateIO (MetricsRegionServerSourceFactoryImpl. Java: 84)
At org, apache hadoop. Hbase. IO. MetricsIO. & lt; init> (MetricsIO. Java: 35)
At org, apache hadoop. Hbase. IO. Hfile. Hfile. & lt; Clinit> (HFile. Java: 195)
At org, apache hadoop. Hbase. Tool. LoadIncrementalHFiles. VisitBulkHFiles (LoadIncrementalHFiles. Java: 1025)
At org, apache hadoop. Hbase. Tool. LoadIncrementalHFiles. DiscoverLoadQueue (LoadIncrementalHFiles. Java: 941)
At org, apache hadoop. Hbase. Tool. LoadIncrementalHFiles. PrepareHFileQueue (LoadIncrementalHFiles. Java: 224)
At org, apache hadoop. Hbase. Tool. LoadIncrementalHFiles. DoBulkLoad (LoadIncrementalHFiles. Java: 331)
At org, apache hadoop. Hbase. Tool. LoadIncrementalHFiles. DoBulkLoad (LoadIncrementalHFiles. Java: 256)
The at org. Apache. Phoenix. Graphs. Index. IndexTool. Run (IndexTool. Java: 597)
At org, apache hadoop. Util. ToolRunner. Run (76) ToolRunner. Java:
At org, apache hadoop. Util. ToolRunner. Run (90) ToolRunner. Java:
At org. Apache. Phoenix. Graphs. Index. IndexTool. Main (769) IndexTool. Java:
Under Caused by: Java. Lang. ClassNotFoundException: org.. Apache hadoop. Metrics2. Sink. The timeline. HadoopTimelineMetricsSink
The at java.net.URLClassLoader.findClass URLClassLoader. Java: (381)
The at Java. Lang. This. LoadClass (424). This Java:
The at Java. Lang. This. LoadClass (357). This Java:
The at Java. Lang. Class. ForName0 (Native Method)
The at Java. Lang. Class.forname (348) Class. Java:
At org, apache hadoop. Metrics2. Impl. MetricsConfig. GetPlugin (MetricsConfig. Java: 204)
. 23 more
The 2019-08-20 09:44:59, 993 INFO [main] impl. MetricsSystemImpl: Scheduled Metric snapshot period at 10 second (s).
The 2019-08-20 09:44:59, 993 INFO [main] impl. MetricsSystemImpl: HBase metrics system started
The 2019-08-20 09:45:00, 025 INFO [main] metrics. MetricRegistries: the Loaded MetricRegistries class org.. Apache hadoop, hbase. Metrics. Impl. MetricRegistriesImpl
The 2019-08-20 09:45:00, WARN 148 [main] tool. LoadIncrementalHFiles: SecureBulkLoadEndpoint is deprecated. It will be removed in the future releases.
The 2019-08-20 09:45:00, WARN 148 [main] tool. LoadIncrementalHFiles: Secure bulk load has had been integrated into HBase core.
The 2019-08-20 09:45:00, 221 INFO [LoadIncrementalHFiles - 0] hfile. CacheConfig: Created CacheConfig: CacheConfig: disabled
2019-08-20 09:45:00, 354 INFO [LoadIncrementalHFiles - 0] tool. LoadIncrementalHFiles: Trying to load hfile=HDFS://BigData/user/hive/ASYNC_IDX_HFILES/PHOENIX TEST_INDEX/body/1 ee1c7f6242d4f0a95dc12b9c85b58c0 first=Optional [\ x80 \ x00 \ x00 \ x00 \ x00 \ x01vf] last=Optional [\ x80 \ x00 \ x00 \ x00 \ x02 \ xFC (#]
The 2019-08-20 09:45:00, 587 INFO [main] index. IndexToolUtil: Updated the status of the index test_index to ACTIVE
  • Related