Got it

An error occurs during Tablespace creation

Latest reply: Jun 22, 2019 07:56:58 398 3 13 0 1

This post refers to an error that occurs during Tablespace creation, because the Tablespace soft links remained after the manual Elk uninstallation.


Applicable versions


C80SPC301 Elk7.1.0.SP1


Diagnostic


An error occurs during tablespace creation, because tablespace soft links remained after manual Elk uninstallation.


Cause analysis


The Elk component is manually deleted.


  • The HDFS directory is manually deleted by running the following command:


hadoop fs -rm -r /user/elk/tablespace/h_tbs_sdb


  • The local directory is manually deleted by running the following command:


rm -rf /srv/BigData/hadoop/data1/elk/elk_location_space/h_tbs_sdb


Manual deletion cannot clear the soft links of Tablespaces. As a result, Tablespaces fail to be created.


Solution


Step 1. Use the cd command to go to the CN and DN directories of the cluster.


Step 2. Run the ls -l command. The part highlighted in red in the following figure represents the remaining invalid soft links.


Step 3. Run the following command to manually delete the highlighted part:


rm -rf /srv/BigData/hadoop/data1/elk/elk_location_space/h_tbs_sdb


Great
View more
  • x
  • convention:

Good
View more
  • x
  • convention:

UP
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.