You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2018/11/14 07:22:33 UTC

[GitHub] leijian opened a new issue #307: The be storage_root_path is set to a soft symlink, causing the load task to stay in the QUORUM_FINIHSED state

leijian opened a new issue #307: The be storage_root_path is set to a soft symlink, causing the load task to stay in the QUORUM_FINIHSED state
URL: https://github.com/apache/incubator-doris/issues/307
 
 
   **Describe the bug**
   Two problems:
   1. The storage_root_path is set to a soft symlink directory. The new load task stays in the QUORUM_FINIHSED state. A large number of clone failure errors are reported in be.INFO, such as
   
   `I1110 18:46:57.581041 28672 task_worker_pool.cpp:838] get clone task. signature: 13779
   I1110 18:46:57.581109 28672 command_executor.cpp:508] begin to process obtain root path. [storage_medium=0]
   I1110 18:46:57.585311 28672 command_executor.cpp:535] success to process obtain root path. [path='/data1/hcp-palo-be/data/data/0']
   I1110 18:46:57.585330 28672 task_worker_pool.cpp:1035] pre make snapshot. backend_ip: 10.39.11.81
   I1110 18:46:57.587469 28672 task_worker_pool.cpp:1058] make snapshot success. backend_ip: 10.39.11.81, src_file_path: /data1/palo_be/data/snapshot/20181110184657.8024/, signature: 13779
   I1110 18:46:57.616843 28672 task_worker_pool.cpp:881] clone copy done, src_host: 10.39.11.81, src_file_path: /data1/palo_be/data/snapshot/20181110184657.8024/
   I1110 18:46:57.616852 28672 command_executor.cpp:568] begin to process load headers. [tablet_id=13779 schema_hash=184775725]
   W1110 18:46:57.616866 28672 olap_engine.cpp:135] fail to find header file. [header_path=/data1/hcp-palo-be/data/data/0/13779/184775725/13779.hdr]
   I1110 18:46:57.617010 28672 utils.cpp:1085] remove empty dir /data1/hcp-palo-be/data/data/0/13779
   W1110 18:46:57.617056 28672 command_executor.cpp:579] fail to process load headers. [res=-102]
   W1110 18:46:57.617079 28672 task_worker_pool.cpp:892] load header failed. local_shard_root_path: /data1/hcp-palo-be/data/data/0, schema_hash: 184775725, status: -102, signature: 13779
   I1110 18:46:57.617096 28672 task_worker_pool.cpp:907] clone failed. want to delete local dir: /data1/hcp-palo-be/data/data/0/13779/184775725, signature: 13779
   W1110 18:46:57.617107 28672 task_worker_pool.cpp:992] clone failed. signature: 13779
   I1110 18:46:57.617470 28672 task_worker_pool.cpp:302] finish task success.result: 0
   I1110 18:46:57.617481 28672 task_worker_pool.cpp:262] type: 3, signature: 13779 has been erased. queue size: 0
   I1110 18:47:17.582481 28672 task_worker_pool.cpp:838] get clone task. signature: 13779`
   
   2. In order to solve the above problem 1, the storage_root_path is reassigned as a non-symbolic link directory,and then restart be. The historical task that stays in the loading state is blocked in the loading state.
   
   **To Reproduce**
   Steps to reproduce the problem 1:
   1. ln -sf /opt/palo-data /opt/palo-new-data
   2. set storage_root_path=/opt/palo-new-data
   3. start be process
   
   Steps to reproduce the problem 2:
   1. set storage_root_path=/opt/palo-data
   2. restart be process
   
   **Additional context**
   Palo Version: 0.8.2
   Linux Version: CentOS 7.3.1611
   Doris-Be Running on Docker Version:  1.6.2
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org