If I sent snapshooter manually it seems to work :

[EMAIL PROTECTED]:/# ./data/solr/video/bin/snapshooter -V
+ fixUser -V
+ [[ -z root ]]
++ whoami
+ [[ root != root ]]
++ who -m
++ cut '-d ' -f1
++ sed '-es/^.*!//'
+ oldwhoami=root
+ [[ root == '' ]]
+ [[ -z /data/solr/video/data ]]
++ echo /data/solr/video/data
++ cut -c1
+ [[ / != \/ ]]
+ setStartTime
+ [[ Linux == \S\u\n\O\S ]]
++ date +%s
+ start=1224072182
+ logMessage started by root
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo 2008/10/15 14:03:02 started by root
+ [[ -n '' ]]
+ logMessage command: ./data/solr/video/bin/snapshooter -V
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo 2008/10/15 14:03:02 command: ./data/solr/video/bin/snapshooter -V
+ [[ -n '' ]]
++ date +%Y%m%d%H%M%S
+ snap_name=snapshot.20081015140302
+ name=/data/solr/video/data/snapshot.20081015140302
+ temp=/data/solr/video/data/temp-snapshot.20081015140302
+ [[ -d /data/solr/video/data/snapshot.20081015140302 ]]
+ [[ -d /data/solr/video/data/temp-snapshot.20081015140302 ]]
+ [[ -n '' ]]
+ trap 'echo cleaning up, please wait ...;/bin/rm -rf ${name}
${temp};logExit aborted 13' INT TERM
+ logMessage taking snapshot /data/solr/video/data/snapshot.20081015140302
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo 2008/10/15 14:03:02 taking snapshot
/data/solr/video/data/snapshot.20081015140302
+ [[ -n '' ]]
+ [[ Linux == \S\u\n\O\S ]]
+ [[ Linux == \D\a\r\w\i\n ]]
+ [[ Linux == \F\r\e\e\B\S\D ]]
+ cp -lr /data/solr/video/data/index
/data/solr/video/data/temp-snapshot.20081015140302
+ mv /data/solr/video/data/temp-snapshot.20081015140302
/data/solr/video/data/snapshot.20081015140302
+ logExit ended 0
+ [[ Linux == \S\u\n\O\S ]]
++ date +%s
+ end=1224072182
++ expr 1224072182 - 1224072182
+ diff=0
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo '2008/10/15 14:03:02 ended (elapsed time: 0 sec)'
+ exit 0


But if I send a commit manually, it seems to fail :
[EMAIL PROTECTED]:/data/solr/video# ./bin/commit -V
+ [[ -n '' ]]
+ [[ -z 8180 ]]
+ [[ -z localhost ]]
+ [[ -z solr ]]
+ curl_url=http://localhost:8180/solr/update
+ fixUser -V
+ [[ -z root ]]
++ whoami
+ [[ root != root ]]
++ who -m
++ cut '-d ' -f1
++ sed '-es/^.*!//'
+ oldwhoami=root
+ [[ root == '' ]]
+ setStartTime
+ [[ Linux == \S\u\n\O\S ]]
++ date +%s
+ start=1224072202
+ logMessage started by root
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo 2008/10/15 14:03:22 started by root
+ [[ -n '' ]]
+ logMessage command: ./bin/commit -V
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo 2008/10/15 14:03:22 command: ./bin/commit -V
+ [[ -n '' ]]
++ curl http://localhost:8180/solr/update -s -H 'Content-type:text/xml;
charset=utf-8' -d '<commit/>'
+ rs='<html><head><title>Apache Tomcat/5.5 - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 400 - Missing solr core name in path</h1><HR
size="1" noshade="noshade"><p>type Status report</p><p>message <u>Missing
solr core name in path</u></p><p>description <u>The request sent by the
client was syntactically incorrect (Missing solr core name in
path).</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/5.5</h3></body></html>'
+ [[ 0 != 0 ]]
+ echo '<html><head><title>Apache' Tomcat/5.5 - Error
'report</title><style><!--H1'
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}'
H2
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}'
H3
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}'
BODY
'{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}'
B
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}'
P
'{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A'
'{color' : 'black;}A.name' '{color' : 'black;}HR' '{color' :
'#525D76;}--></style>' '</head><body><h1>HTTP' Status 400 - Missing solr
core name in 'path</h1><HR' 'size="1"' 'noshade="noshade"><p>type' Status
'report</p><p>message' '<u>Missing' solr core name in
'path</u></p><p>description' '<u>The' request sent by the client was
syntactically incorrect '(Missing' solr core name in 'path).</u></p><HR'
'size="1"' 'noshade="noshade"><h3>Apache' 'Tomcat/5.5</h3></body></html>'
+ grep '<result.*status="0"'
+ [[ 1 != 0 ]]
+ echo '<html><head><title>Apache' Tomcat/5.5 - Error
'report</title><style><!--H1'
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}'
H2
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}'
H3
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}'
BODY
'{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}'
B
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}'
P
'{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A'
'{color' : 'black;}A.name' '{color' : 'black;}HR' '{color' :
'#525D76;}--></style>' '</head><body><h1>HTTP' Status 400 - Missing solr
core name in 'path</h1><HR' 'size="1"' 'noshade="noshade"><p>type' Status
'report</p><p>message' '<u>Missing' solr core name in
'path</u></p><p>description' '<u>The' request sent by the client was
syntactically incorrect '(Missing' solr core name in 'path).</u></p><HR'
'size="1"' 'noshade="noshade"><h3>Apache' 'Tomcat/5.5</h3></body></html>'
+ grep '<lst name="responseHeader"><int name="status">0</int>'
+ [[ 1 != 0 ]]
+ logMessage commit request to Solr at http://localhost:8180/solr/update
failed:
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo 2008/10/15 14:03:22 commit request to Solr at
http://localhost:8180/solr/update failed:
+ [[ -n '' ]]
+ logMessage '<html><head><title>Apache' Tomcat/5.5 - Error
'report</title><style><!--H1'
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}'
H2
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}'
H3
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}'
BODY
'{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}'
B
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}'
P
'{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A'
'{color' : 'black;}A.name' '{color' : 'black;}HR' '{color' :
'#525D76;}--></style>' '</head><body><h1>HTTP' Status 400 - Missing solr
core name in 'path</h1><HR' 'size="1"' 'noshade="noshade"><p>type' Status
'report</p><p>message' '<u>Missing' solr core name in
'path</u></p><p>description' '<u>The' request sent by the client was
syntactically incorrect '(Missing' solr core name in 'path).</u></p><HR'
'size="1"' 'noshade="noshade"><h3>Apache' 'Tomcat/5.5</h3></body></html>'
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo 2008/10/15 14:03:22 '<html><head><title>Apache' Tomcat/5.5 - Error
'report</title><style><!--H1'
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}'
H2
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}'
H3
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}'
BODY
'{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}'
B
'{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}'
P
'{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A'
'{color' : 'black;}A.name' '{color' : 'black;}HR' '{color' :
'#525D76;}--></style>' '</head><body><h1>HTTP' Status 400 - Missing solr
core name in 'path</h1><HR' 'size="1"' 'noshade="noshade"><p>type' Status
'report</p><p>message' '<u>Missing' solr core name in
'path</u></p><p>description' '<u>The' request sent by the client was
syntactically incorrect '(Missing' solr core name in 'path).</u></p><HR'
'size="1"' 'noshade="noshade"><h3>Apache' 'Tomcat/5.5</h3></body></html>'
+ [[ -n '' ]]
+ logExit failed 2
+ [[ Linux == \S\u\n\O\S ]]
++ date +%s
+ end=1224072202
++ expr 1224072202 - 1224072202
+ diff=0
++ timeStamp
++ date '+%Y/%m/%d %H:%M:%S'
+ echo '2008/10/15 14:03:22 failed (elapsed time: 0 sec)'
+ exit 2


-- 
View this message in context: 
http://www.nabble.com/solr-1.3-snapshooter-doesn%27t-work%2C-commit-never-ending-tp19988268p19992142.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to