oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.38k stars 754 forks source link

some repositories have not been indexed,but other indexed #1959

Closed kaoer closed 6 years ago

kaoer commented 6 years ago

The kernel repository has not been indexed,can not be searched. but other repositories be indexed can be searched. how can i do to fix it?

image

vladak commented 6 years ago

How do you run the indexing exactly ? Anything of interest in the indexer logs ?

kaoer commented 6 years ago

OPENGROK_INSTANCE_BASE=msm8996 ./OpenGrok index /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996

log: 2017-12-19 21:42:01.564+0800 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2017-12-19 21:42:03.860+0800 FINE t1 Executor.exec: Executing command [/usr/bin/ctags-exuberant, --version] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.882+0800 FINE t1 Executor.exec: Finished command [/usr/bin/ctags-exuberant, --version] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.883+0800 INFO t1 Indexer.prepareIndexer: Scanning for repositories... 2017-12-19 21:42:03.885+0800 FINE t1 Executor.exec: Executing command [accurev, info] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.887+0800 FINE t1 Executor.exec: Executing command [cleartool, -version] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.889+0800 FINE t1 Executor.exec: Executing command [p4, help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.891+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.895+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.902+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/pdk 2017-12-19 21:42:03.910+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/pdk 2017-12-19 21:42:03.917+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.920+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.928+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/overlay/resource/project 2017-12-19 21:42:03.934+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/overlay/resource/project 2017-12-19 21:42:03.936+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.938+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.945+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/overlay/resource/resolution 2017-12-19 21:42:03.951+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/overlay/resource/resolution 2017-12-19 21:42:03.952+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.956+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.965+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/overlay/resource/common 2017-12-19 21:42:03.973+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/overlay/resource/common 2017-12-19 21:42:03.975+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.977+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:03.992+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/oem 2017-12-19 21:42:04.005+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/oem 2017-12-19 21:42:04.008+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:04.011+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, --help] in directory /home/gphone/OpenGrok-1.1-rc16 2017-12-19 21:42:04.016+0800 FINE t1 Executor.exec: Executing command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/common/baidu/ime 2017-12-19 21:42:04.021+0800 FINE t1 Executor.exec: Finished command [/usr/bin/git, log, -1, --pretty=%cd#%h %an %s, --date=iso8601-strict] in directory /home/gphone/data/my_qcom_LA.UM.6.5.R1.07.00.00.312.020_msm8996/vendor/my/common/baidu/ime

kaoer commented 6 years ago

index again and restart tomcat,it is ok.

I'm sure a few days ago is good, suddenly appeared this problem this afternoon. I don't know how did this happen!

vladak commented 6 years ago

The above log does not give any indication of failure. If the project is not marked as indexed in the webapp, this means the indexer failed to send the Message to set it at the end of the indexing. In turn, this means that the indexing had to fail or there was a problem with the message delivery. If you find out the problem in the log feel free to reopen.