मैं कर रहा हूँ एक सा (HBase 0.92.1-cdh4.0.0 पर, Hadoop 2.0.0-cdh4.0.0) एक दोषपूर्ण तालिका मरम्मत अटकमरम्मत HBase तालिका (संक्रमण में असाइन नहीं किए गए क्षेत्र)
वहाँ एक क्षेत्र है संक्रमण में खत्म नहीं होता है कि:
Number of empty REGIONINFO_QUALIFIER rows in .META.: 0
ERROR: Region { meta => counter_traces,1329773878.35_766a0b4df75e4381a686fbc07db9e333,1339425291230.bf2025f4bc154914b5942af4e72ea063., hdfs => hdfs://hbase001:8020/hbase/counter_traces/bf2025f4bc154914b5942af4e72ea063, deployed => } not deployed on any region server.
Trying to fix unassigned region...
12/06/12 11:44:40 INFO util.HBaseFsckRepair: Region still in transition, waiting for it to become assigned: {NAME => 'counter_traces,1329773878.35_766a0b4df75e4381a686fbc07db9e333,1339425291230.bf2025f4bc154914b5942af4e72ea063.', STARTKEY => '1329773878.35_766a0b4df75e4381a686fbc07db9e333', ENDKEY => '1329793347.58_163865765c0a11e184ab003048f0e77e', ENCODED => bf2025f4bc154914b5942af4e72ea063,}
और यह सिर्फ लूप:
Region State
bf2025f4bc154914b5942af4e72ea063 counter_traces,1329773878.35_766a0b4df75e4381a686fbc07db9e333,1339425291230.bf2025f4bc154914b5942af4e72ea063. state=OFFLINE, ts=Tue Jun 12 11:43:53 CEST 2012 (0s ago), server=null
जब मैं sudo -u hbase hbase hbck -repair
चलाने के लिए, मैं इस मिलता है।
मैं -repair
ऐसा नहीं करते हैं, मैं इस मिल:
Number of empty REGIONINFO_QUALIFIER rows in .META.: 0
ERROR: Region { meta => counter_traces,1329773878.35_766a0b4df75e4381a686fbc07db9e333,1339425291230.bf2025f4bc154914b5942af4e72ea063., hdfs => hdfs://hbase001:8020/hbase/counter_traces/bf2025f4bc154914b5942af4e72ea063, deployed => } not deployed on any region server.
ERROR: Region { meta => counter_traces,1329816776.95_95b5561f3c1e496598421359a19ac665,1339425297099.ee1fd808d954c9adc9ed95ec2f29d119., hdfs => hdfs://hbase001:8020/hbase/counter_traces/ee1fd808d954c9adc9ed95ec2f29d119, deployed => } not deployed on any region server.
12/06/12 11:45:59 DEBUG util.HBaseFsck: There are 134 region info entries
ERROR: There is a hole in the region chain between 1329773878.35_766a0b4df75e4381a686fbc07db9e333 and 1329793347.58_163865765c0a11e184ab003048f0e77e. You need to create a new .regioninfo and region dir in hdfs to plug the hole.
ERROR: There is a hole in the region chain between 1329816776.95_95b5561f3c1e496598421359a19ac665 and 1329847231.75_b3c50776778b43e088dd7ed865e11331. You need to create a new .regioninfo and region dir in hdfs to plug the hole.
ERROR: Found inconsistency in table counter_traces
मैं -repair
एक दो बार पहले ही आ जाते है, और यह मदद की। लेकिन इस बार, अब और नहीं।
ठीक है, इसलिए यह ठीक करने के लिए मैन्युअल हस्तक्षेप करने के लिए कहता है। क्या कोई मुझे सही दिशा में इंगित कर सकता है कि यह कैसे करें? एक नुस्खा, वेबपृष्ठ, उदाहरण, कुछ भी मदद करेगा।
धन्यवाद, मारियो
मुझे सही दिशा में मिला। प्रत्यक्ष assing काम नहीं किया, लेकिन कम से कम मुझे कुछ कोड मिला जो मुझे क्षेत्र श्रृंखला में छेद भरने में मदद की। – Mario
क्या आप कोड साझा कर सकते हैं? मेरे पास एक समान समस्या है और इसे ठीक करना चाहते हैं। –
मुझे खेद है, तो वापस पोस्ट किया जाना चाहिए था। मुझे नहीं लगता कि मेरे पास अब और है। – Mario