lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Vora <chetanv...@gmail.com>
Subject Re: Solr Cloud: No live SolrServers available
Date Wed, 20 May 2015 19:19:48 GMT
Seems like the attachements get stripped off. Anyways, here is the 4.7 log
on startup

INFO  - 2015-05-20 10:35:45.786; org.eclipse.jetty.server.Server;
jetty-8.1.10.v20130312
INFO  - 2015-05-20 10:35:45.804;
org.eclipse.jetty.deploy.providers.ScanningAppProvider; Deployment monitor
C:\apps\solr\solr-4.7.2\example\contexts at interval 0
INFO  - 2015-05-20 10:35:45.811;
org.eclipse.jetty.deploy.DeploymentManager; Deployable added:
C:\apps\solr\solr-4.7.2\example\contexts\solr-jetty-context.xml
INFO  - 2015-05-20 10:35:47.405;
org.eclipse.jetty.webapp.StandardDescriptorProcessor; NO JSP Support for
/solr, did not find org.apache.jasper.servlet.JspServlet
INFO  - 2015-05-20 10:35:47.460;
org.apache.solr.servlet.SolrDispatchFilter; SolrDispatchFilter.init()
INFO  - 2015-05-20 10:35:47.472; org.apache.solr.core.SolrResourceLoader;
JNDI not configured for solr (NoInitialContextEx)
INFO  - 2015-05-20 10:35:47.473; org.apache.solr.core.SolrResourceLoader;
solr home defaulted to 'solr/' (could not find system property or JNDI)
INFO  - 2015-05-20 10:35:47.473; org.apache.solr.core.SolrResourceLoader;
new SolrResourceLoader for directory: 'solr/'
INFO  - 2015-05-20 10:35:47.579; org.apache.solr.core.ConfigSolr; Loading
container configuration from C:\apps\solr\solr-4.7.2\example\solr\solr.xml
INFO  - 2015-05-20 10:35:47.674;
org.apache.solr.core.CorePropertiesLocator; Config-defined core root
directory: C:\apps\solr\solr-4.7.2\example\solr
INFO  - 2015-05-20 10:35:47.680; org.apache.solr.core.CoreContainer; New
CoreContainer 1930610653
INFO  - 2015-05-20 10:35:47.680; org.apache.solr.core.CoreContainer;
Loading cores into CoreContainer [instanceDir=solr/]
INFO  - 2015-05-20 10:35:47.691;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
socketTimeout to: 0
INFO  - 2015-05-20 10:35:47.691;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
urlScheme to: null
INFO  - 2015-05-20 10:35:47.695;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
connTimeout to: 0
INFO  - 2015-05-20 10:35:47.695;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
maxConnectionsPerHost to: 20
INFO  - 2015-05-20 10:35:47.696;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
corePoolSize to: 0
INFO  - 2015-05-20 10:35:47.696;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
maximumPoolSize to: 2147483647
INFO  - 2015-05-20 10:35:47.697;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
maxThreadIdleTime to: 5
INFO  - 2015-05-20 10:35:47.697;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
sizeOfQueue to: -1
INFO  - 2015-05-20 10:35:47.697;
org.apache.solr.handler.component.HttpShardHandlerFactory; Setting
fairnessPolicy to: false
INFO  - 2015-05-20 10:35:47.931; org.apache.solr.logging.LogWatcher; SLF4J
impl is org.slf4j.impl.Log4jLoggerFactory
INFO  - 2015-05-20 10:35:47.932; org.apache.solr.logging.LogWatcher;
Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)]
INFO  - 2015-05-20 10:35:47.933; org.apache.solr.core.CoreContainer; Host
Name:
INFO  - 2015-05-20 10:35:47.946; org.apache.solr.cloud.SolrZkServer;
STARTING EMBEDDED STANDALONE ZOOKEEPER SERVER at port 9987
INFO  - 2015-05-20 10:35:48.447; org.apache.solr.core.ZkContainer;
Zookeeper client=localhost:9987
INFO  - 2015-05-20 10:35:48.489;
org.apache.solr.common.cloud.ConnectionManager; Waiting for client to
connect to ZooKeeper
INFO  - 2015-05-20 10:35:48.500;
org.apache.solr.common.cloud.ConnectionManager; Watcher
org.apache.solr.common.cloud.ConnectionManager@2bc25a1d
name:ZooKeeperConnection Watcher:localhost:9987 got event WatchedEvent
state:SyncConnected type:None path:null path:null type:None
INFO  - 2015-05-20 10:35:48.500;
org.apache.solr.common.cloud.ConnectionManager; Client is connected to
ZooKeeper
INFO  - 2015-05-20 10:35:48.516;
org.apache.solr.common.cloud.ZkStateReader; Updating cluster state from
ZooKeeper...
INFO  - 2015-05-20 10:35:49.529; org.apache.solr.cloud.ZkController;
Register node as live in ZooKeeper:/live_nodes/10.1.172.231:8987_solr
INFO  - 2015-05-20 10:35:49.536; org.apache.solr.cloud.ZkController; Found
a previous node that still exists while trying to register a new live node
/live_nodes/10.1.172.231:8987_solr - removing existing node to create
another.
INFO  - 2015-05-20 10:35:49.537; org.apache.solr.common.cloud.SolrZkClient;
makePath: /live_nodes/10.1.172.231:8987_solr
INFO  - 2015-05-20 10:35:49.537;
org.apache.solr.common.cloud.ZkStateReader$3; Updating live nodes... (0)
INFO  - 2015-05-20 10:35:49.544;
org.apache.solr.common.cloud.ZkStateReader$3; Updating live nodes... (1)
INFO  - 2015-05-20 10:35:49.581; org.apache.solr.common.cloud.SolrZkClient;
makePath: /configs/myapp47/schema.xml
INFO  - 2015-05-20 10:35:49.596; org.apache.solr.common.cloud.SolrZkClient;
makePath: /configs/myapp47/solrconfig.xml
INFO  - 2015-05-20 10:35:49.636;
org.apache.solr.core.CorePropertiesLocator; Looking for core definitions
underneath C:\apps\solr\solr-4.7.2\example\solr
INFO  - 2015-05-20 10:35:49.671;
org.apache.solr.core.CorePropertiesLocator; Found core
myapp47_shard1_replica1 in
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\
INFO  - 2015-05-20 10:35:49.675;
org.apache.solr.core.CorePropertiesLocator; Found core
myapp47_shard2_replica1 in
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\
INFO  - 2015-05-20 10:35:49.677;
org.apache.solr.core.CorePropertiesLocator; Found 2 core definitions
INFO  - 2015-05-20 10:35:49.679; org.apache.solr.cloud.ZkController;
publishing core=myapp47_shard1_replica1 state=down collection=myapp47
INFO  - 2015-05-20 10:35:49.679; org.apache.solr.cloud.ZkController;
publishing core=myapp47_shard2_replica1 state=down collection=myapp47
INFO  - 2015-05-20 10:35:49.682; org.apache.solr.cloud.ZkController;
waiting to find shard id in clusterstate for myapp47_shard2_replica1
INFO  - 2015-05-20 10:35:49.682; org.apache.solr.core.CoreContainer;
Creating SolrCore 'myapp47_shard2_replica1' using instanceDir:
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1
INFO  - 2015-05-20 10:35:49.682; org.apache.solr.cloud.ZkController; Check
for collection zkNode:myapp47
INFO  - 2015-05-20 10:35:49.682; org.apache.solr.cloud.ZkController;
waiting to find shard id in clusterstate for myapp47_shard1_replica1
INFO  - 2015-05-20 10:35:49.683; org.apache.solr.core.CoreContainer;
Creating SolrCore 'myapp47_shard1_replica1' using instanceDir:
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1
INFO  - 2015-05-20 10:35:49.683; org.apache.solr.cloud.ZkController; Check
for collection zkNode:myapp47
INFO  - 2015-05-20 10:35:49.683; org.apache.solr.cloud.ZkController;
Collection zkNode exists
INFO  - 2015-05-20 10:35:49.683;
org.apache.solr.common.cloud.ZkStateReader; Load collection config
from:/collections/myapp47
INFO  - 2015-05-20 10:35:49.683; org.apache.solr.cloud.ZkController;
Collection zkNode exists
INFO  - 2015-05-20 10:35:49.683;
org.apache.solr.common.cloud.ZkStateReader; Load collection config
from:/collections/myapp47
INFO  - 2015-05-20 10:35:49.684;
org.apache.solr.common.cloud.ZkStateReader; path=/collections/myapp47
configName=myappconfig47 specified config exists in ZooKeeper
INFO  - 2015-05-20 10:35:49.684; org.apache.solr.core.SolrResourceLoader;
new SolrResourceLoader for directory:
'C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\'
INFO  - 2015-05-20 10:35:49.685;
org.apache.solr.common.cloud.ZkStateReader; path=/collections/myapp47
configName=myappconfig47 specified config exists in ZooKeeper
INFO  - 2015-05-20 10:35:49.685; org.apache.solr.core.SolrResourceLoader;
new SolrResourceLoader for directory:
'C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\'
INFO  - 2015-05-20 10:35:49.725; org.apache.solr.core.SolrConfig; Adding
specified lib dirs to ClassLoader
WARN  - 2015-05-20 10:35:49.725; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader: ./solr/lib (resolved
as:
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\.\solr\lib).
WARN  - 2015-05-20 10:35:49.726; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader:
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\..\..\..\common\lib
(resolved as:
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\..\..\..\common\lib).
INFO  - 2015-05-20 10:35:49.726; org.apache.solr.core.SolrConfig; Adding
specified lib dirs to ClassLoader
WARN  - 2015-05-20 10:35:49.727; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader: ./solr/lib (resolved
as:
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\.\solr\lib).
WARN  - 2015-05-20 10:35:49.727; org.apache.solr.core.SolrResourceLoader;
Can't find (or read) directory to add to classloader:
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\..\..\..\common\lib
(resolved as:
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\..\..\..\common\lib).
INFO  - 2015-05-20 10:35:49.794; org.apache.solr.core.SolrConfig; Using
Lucene MatchVersion: LUCENE_47
INFO  - 2015-05-20 10:35:49.795; org.apache.solr.core.SolrConfig; Using
Lucene MatchVersion: LUCENE_47
INFO  - 2015-05-20 10:35:49.885; org.apache.solr.core.SolrConfig; Loaded
SolrConfig: solrconfig.xml
INFO  - 2015-05-20 10:35:49.885; org.apache.solr.core.SolrConfig; Loaded
SolrConfig: solrconfig.xml
INFO  - 2015-05-20 10:35:49.892; org.apache.solr.schema.IndexSchema;
Reading Solr Schema from schema.xml
INFO  - 2015-05-20 10:35:49.892; org.apache.solr.schema.IndexSchema;
Reading Solr Schema from schema.xml
INFO  - 2015-05-20 10:35:49.913; org.apache.solr.schema.IndexSchema;
[myapp47_shard1_replica1] Schema name=example
INFO  - 2015-05-20 10:35:49.913; org.apache.solr.schema.IndexSchema;
[myapp47_shard2_replica1] Schema name=example
INFO  - 2015-05-20 10:35:49.998; org.apache.solr.schema.IndexSchema; unique
key field: UniqueID
INFO  - 2015-05-20 10:35:49.998; org.apache.solr.schema.IndexSchema; unique
key field: UniqueID
INFO  - 2015-05-20 10:35:50.012; org.apache.solr.core.SolrCore;
solr.MMapDirectoryFactory
INFO  - 2015-05-20 10:35:50.012; org.apache.solr.core.SolrCore;
solr.MMapDirectoryFactory
INFO  - 2015-05-20 10:35:50.025; org.apache.solr.core.SolrCore;
[myapp47_shard1_replica1] Opening new SolrCore at
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\,
dataDir=C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\data\
INFO  - 2015-05-20 10:35:50.025; org.apache.solr.core.SolrCore;
[myapp47_shard2_replica1] Opening new SolrCore at
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\,
dataDir=C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\data\
INFO  - 2015-05-20 10:35:50.026; org.apache.solr.core.JmxMonitoredMap; JMX
monitoring is enabled. Adding Solr mbeans to JMX Server:
com.sun.jmx.mbeanserver.JmxMBeanServer@574a7ff6
INFO  - 2015-05-20 10:35:50.026; org.apache.solr.core.JmxMonitoredMap; JMX
monitoring is enabled. Adding Solr mbeans to JMX Server:
com.sun.jmx.mbeanserver.JmxMBeanServer@574a7ff6
INFO  - 2015-05-20 10:35:50.045; org.apache.solr.core.SolrCore;
[myapp47_shard2_replica1] Added SolrEventListener for newSearcher:
org.apache.solr.core.QuerySenderListener{queries=[]}
INFO  - 2015-05-20 10:35:50.045; org.apache.solr.core.SolrCore;
[myapp47_shard1_replica1] Added SolrEventListener for newSearcher:
org.apache.solr.core.QuerySenderListener{queries=[]}
INFO  - 2015-05-20 10:35:50.045; org.apache.solr.core.SolrCore;
[myapp47_shard2_replica1] Added SolrEventListener for firstSearcher:
org.apache.solr.core.QuerySenderListener{queries=[]}
INFO  - 2015-05-20 10:35:50.045; org.apache.solr.core.SolrCore;
[myapp47_shard1_replica1] Added SolrEventListener for firstSearcher:
org.apache.solr.core.QuerySenderListener{queries=[]}
INFO  - 2015-05-20 10:35:50.053;
org.apache.solr.core.CachingDirectoryFactory; return new directory for
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\data
INFO  - 2015-05-20 10:35:50.053;
org.apache.solr.core.CachingDirectoryFactory; return new directory for
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\data
INFO  - 2015-05-20 10:35:50.053; org.apache.solr.core.SolrCore; New index
directory detected: old=null
new=C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\data\index/
INFO  - 2015-05-20 10:35:50.053; org.apache.solr.core.SolrCore; New index
directory detected: old=null
new=C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\data\index/
INFO  - 2015-05-20 10:35:50.054;
org.apache.solr.core.CachingDirectoryFactory; return new directory for
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\data\index
INFO  - 2015-05-20 10:35:50.055;
org.apache.solr.core.CachingDirectoryFactory; return new directory for
C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\data\index
INFO  - 2015-05-20 10:35:50.066; org.apache.solr.core.SolrCore; created
json: solr.JSONResponseWriter
INFO  - 2015-05-20 10:35:50.066; org.apache.solr.core.SolrCore; created
json: solr.JSONResponseWriter
INFO  - 2015-05-20 10:35:50.066; org.apache.solr.core.SolrCore; adding lazy
queryResponseWriter: solr.VelocityResponseWriter
INFO  - 2015-05-20 10:35:50.066; org.apache.solr.core.SolrCore; adding lazy
queryResponseWriter: solr.VelocityResponseWriter
INFO  - 2015-05-20 10:35:50.067; org.apache.solr.core.SolrCore; created
velocity: solr.VelocityResponseWriter
INFO  - 2015-05-20 10:35:50.067; org.apache.solr.core.SolrCore; created
velocity: solr.VelocityResponseWriter
INFO  - 2015-05-20 10:35:50.070; org.apache.solr.core.SolrCore; created
xslt: solr.XSLTResponseWriter
INFO  - 2015-05-20 10:35:50.070; org.apache.solr.core.SolrCore; created
xslt: solr.XSLTResponseWriter
INFO  - 2015-05-20 10:35:50.070;
org.apache.solr.response.XSLTResponseWriter; xsltCacheLifetimeSeconds=5
INFO  - 2015-05-20 10:35:50.071;
org.apache.solr.response.XSLTResponseWriter; xsltCacheLifetimeSeconds=5
INFO  - 2015-05-20 10:35:50.133; org.apache.solr.core.SolrCore; no
updateRequestProcessorChain defined as default, creating implicit default
INFO  - 2015-05-20 10:35:50.133; org.apache.solr.core.SolrCore; no
updateRequestProcessorChain defined as default, creating implicit default
INFO  - 2015-05-20 10:35:50.145; org.apache.solr.core.RequestHandlers;
created /select: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.145; org.apache.solr.core.RequestHandlers;
created /select: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.145; org.apache.solr.core.RequestHandlers;
created /query: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.146; org.apache.solr.core.RequestHandlers;
created /query: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.148; org.apache.solr.core.RequestHandlers;
created /get: solr.RealTimeGetHandler
INFO  - 2015-05-20 10:35:50.148; org.apache.solr.core.RequestHandlers;
created /get: solr.RealTimeGetHandler
INFO  - 2015-05-20 10:35:50.149; org.apache.solr.core.RequestHandlers;
created /browse: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.149; org.apache.solr.core.RequestHandlers;
created /browse: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.153; org.apache.solr.core.RequestHandlers;
created /update: solr.UpdateRequestHandler
INFO  - 2015-05-20 10:35:50.153; org.apache.solr.core.RequestHandlers;
created /update: solr.UpdateRequestHandler
INFO  - 2015-05-20 10:35:50.153; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.FieldAnalysisRequestHandler
INFO  - 2015-05-20 10:35:50.153; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.FieldAnalysisRequestHandler
INFO  - 2015-05-20 10:35:50.154; org.apache.solr.core.RequestHandlers;
created /analysis/field: solr.FieldAnalysisRequestHandler
INFO  - 2015-05-20 10:35:50.154; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.DocumentAnalysisRequestHandler
INFO  - 2015-05-20 10:35:50.154; org.apache.solr.core.RequestHandlers;
created /analysis/field: solr.FieldAnalysisRequestHandler
INFO  - 2015-05-20 10:35:50.154; org.apache.solr.core.RequestHandlers;
created /analysis/document: solr.DocumentAnalysisRequestHandler
INFO  - 2015-05-20 10:35:50.154; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.DocumentAnalysisRequestHandler
INFO  - 2015-05-20 10:35:50.155; org.apache.solr.core.RequestHandlers;
created /analysis/document: solr.DocumentAnalysisRequestHandler
INFO  - 2015-05-20 10:35:50.156; org.apache.solr.core.RequestHandlers;
created /admin/: solr.admin.AdminHandlers
INFO  - 2015-05-20 10:35:50.156; org.apache.solr.core.RequestHandlers;
created /admin/: solr.admin.AdminHandlers
INFO  - 2015-05-20 10:35:50.159; org.apache.solr.core.RequestHandlers;
created /admin/ping: solr.PingRequestHandler
INFO  - 2015-05-20 10:35:50.159; org.apache.solr.core.RequestHandlers;
created /admin/ping: solr.PingRequestHandler
INFO  - 2015-05-20 10:35:50.161; org.apache.solr.core.RequestHandlers;
created /debug/dump: solr.DumpRequestHandler
INFO  - 2015-05-20 10:35:50.161; org.apache.solr.core.RequestHandlers;
created /debug/dump: solr.DumpRequestHandler
INFO  - 2015-05-20 10:35:50.169; org.apache.solr.core.RequestHandlers;
created /replication: solr.ReplicationHandler
INFO  - 2015-05-20 10:35:50.169; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.169; org.apache.solr.core.RequestHandlers;
created /replication: solr.ReplicationHandler
INFO  - 2015-05-20 10:35:50.169; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.169; org.apache.solr.core.RequestHandlers;
created /tvrh: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.170; org.apache.solr.core.RequestHandlers;
created /tvrh: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.170; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.170; org.apache.solr.core.RequestHandlers;
adding lazy requestHandler: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.170; org.apache.solr.core.RequestHandlers;
created /terms: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.170; org.apache.solr.core.RequestHandlers;
created /terms: solr.SearchHandler
INFO  - 2015-05-20 10:35:50.182; org.apache.solr.handler.loader.XMLLoader;
xsltCacheLifetimeSeconds=60
INFO  - 2015-05-20 10:35:50.182; org.apache.solr.handler.loader.XMLLoader;
xsltCacheLifetimeSeconds=60
INFO  - 2015-05-20 10:35:50.189; org.apache.solr.update.CommitTracker; Hard
AutoCommit: disabled
INFO  - 2015-05-20 10:35:50.189; org.apache.solr.update.CommitTracker; Hard
AutoCommit: disabled
INFO  - 2015-05-20 10:35:50.190; org.apache.solr.update.CommitTracker; Soft
AutoCommit: disabled
INFO  - 2015-05-20 10:35:50.190; org.apache.solr.update.CommitTracker; Soft
AutoCommit: disabled
INFO  - 2015-05-20 10:35:50.229; org.apache.solr.core.SolrDeletionPolicy;
SolrDeletionPolicy.onInit: commits: num=1
commit{dir=C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard1_replica1\data\index,segFN=segments_2,generation=2}
INFO  - 2015-05-20 10:35:50.229; org.apache.solr.core.SolrDeletionPolicy;
SolrDeletionPolicy.onInit: commits: num=1
commit{dir=C:\apps\solr\solr-4.7.2\example\solr\myapp47_shard2_replica1\data\index,segFN=segments_1,generation=1}
INFO  - 2015-05-20 10:35:50.229; org.apache.solr.core.SolrDeletionPolicy;
newest commit generation = 2
INFO  - 2015-05-20 10:35:50.229; org.apache.solr.core.SolrDeletionPolicy;
newest commit generation = 1
INFO  - 2015-05-20 10:35:50.235; org.apache.solr.search.SolrIndexSearcher;
Opening Searcher@57b8e38e[myapp47_shard2_replica1] main
INFO  - 2015-05-20 10:35:50.261;
org.apache.solr.handler.ReplicationHandler; Commits will be reserved for
 10000
INFO  - 2015-05-20 10:35:50.262; org.apache.solr.core.QuerySenderListener;
QuerySenderListener sending requests to
Searcher@57b8e38e[myapp47_shard2_replica1]
main{StandardDirectoryReader(segments_1:1:nrt)}
INFO  - 2015-05-20 10:35:50.262; org.apache.solr.core.QuerySenderListener;
QuerySenderListener done.
INFO  - 2015-05-20 10:35:50.264; org.apache.solr.core.SolrCore;
[myapp47_shard2_replica1] Registered new searcher
Searcher@57b8e38e[myapp47_shard2_replica1]
main{StandardDirectoryReader(segments_1:1:nrt)}
INFO  - 2015-05-20 10:35:50.269; org.apache.solr.core.CoreContainer;
registering core: myapp47_shard2_replica1
INFO  - 2015-05-20 10:35:50.279; org.apache.solr.search.SolrIndexSearcher;
Opening Searcher@4ad5e1aa[myapp47_shard1_replica1] main
INFO  - 2015-05-20 10:35:50.283;
org.apache.solr.handler.ReplicationHandler; Commits will be reserved for
 10000
INFO  - 2015-05-20 10:35:50.283; org.apache.solr.core.QuerySenderListener;
QuerySenderListener sending requests to
Searcher@4ad5e1aa[myapp47_shard1_replica1]
main{StandardDirectoryReader(segments_2:7:nrt _1(4.7):C1)}
INFO  - 2015-05-20 10:35:50.283; org.apache.solr.core.QuerySenderListener;
QuerySenderListener done.
INFO  - 2015-05-20 10:35:50.285; org.apache.solr.core.SolrCore;
[myapp47_shard1_replica1] Registered new searcher
Searcher@4ad5e1aa[myapp47_shard1_replica1]
main{StandardDirectoryReader(segments_2:7:nrt _1(4.7):C1)}
INFO  - 2015-05-20 10:35:50.289; org.apache.solr.core.CoreContainer;
registering core: myapp47_shard1_replica1
INFO  - 2015-05-20 10:35:50.290; org.apache.solr.cloud.ZkController;
Register replica - core:myapp47_shard2_replica1 address:
http://10.1.172.231:8987/solr collection:myapp47 shard:shard2
INFO  - 2015-05-20 10:35:50.290; org.apache.solr.cloud.ZkController;
Register replica - core:myapp47_shard1_replica1 address:
http://10.1.172.231:8987/solr collection:myapp47 shard:shard1
INFO  - 2015-05-20 10:35:50.290;
org.apache.solr.servlet.SolrDispatchFilter;
user.dir=C:\apps\solr\solr-4.7.2\example
INFO  - 2015-05-20 10:35:50.291;
org.apache.solr.servlet.SolrDispatchFilter; SolrDispatchFilter.init() done
INFO  - 2015-05-20 10:35:50.299; org.apache.solr.cloud.ZkController; We are
http://10.1.172.231:8987/solr/myapp47_shard2_replica1/ and leader is
http://10.1.172.231:8987/solr/myapp47_shard2_replica1/
INFO  - 2015-05-20 10:35:50.299; org.apache.solr.cloud.ZkController; We are
http://10.1.172.231:8987/solr/myapp47_shard1_replica1/ and leader is
http://10.1.172.231:8987/solr/myapp47_shard1_replica1/
INFO  - 2015-05-20 10:35:50.299;
org.apache.solr.common.cloud.ZkStateReader; Updating cloud state from
ZooKeeper...
INFO  - 2015-05-20 10:35:50.301;
org.apache.solr.common.cloud.ZkStateReader; Updating cloud state from
ZooKeeper...
INFO  - 2015-05-20 10:35:50.313;
org.eclipse.jetty.server.AbstractConnector; Started
SocketConnector@0.0.0.0:8987
INFO  - 2015-05-20 10:36:20.005;
org.apache.solr.cloud.ShardLeaderElectionContext; Running the leader
process for shard shard2
INFO  - 2015-05-20 10:36:20.010;
org.apache.solr.cloud.ShardLeaderElectionContext; Checking if I should try
and be the leader.
INFO  - 2015-05-20 10:36:20.010;
org.apache.solr.cloud.ShardLeaderElectionContext; My last published State
was Active, it's okay to be the leader.
INFO  - 2015-05-20 10:36:20.010;
org.apache.solr.cloud.ShardLeaderElectionContext; I may be the new leader -
try and sync
INFO  - 2015-05-20 10:36:22.515; org.apache.solr.cloud.SyncStrategy; Sync
replicas to http://10.1.172.231:8987/solr/myapp47_shard2_replica1/
ERROR - 2015-05-20 10:36:22.516; org.apache.solr.cloud.SyncStrategy; No
UpdateLog found - cannot sync
INFO  - 2015-05-20 10:36:22.516;
org.apache.solr.cloud.ShardLeaderElectionContext; We failed sync, but we
have no versions - we can't sync in that case - we were active before, so
become leader anyway
INFO  - 2015-05-20 10:36:22.517;
org.apache.solr.cloud.ShardLeaderElectionContext; I am the new leader:
http://10.1.172.231:8987/solr/myapp47_shard2_replica1/ shard2
INFO  - 2015-05-20 10:36:22.517; org.apache.solr.common.cloud.SolrZkClient;
makePath: /collections/myapp47/leaders/shard2
INFO  - 2015-05-20 10:36:22.533;
org.apache.solr.cloud.ShardLeaderElectionContext; Running the leader
process for shard shard1
INFO  - 2015-05-20 10:36:22.536;
org.apache.solr.cloud.ShardLeaderElectionContext; Checking if I should try
and be the leader.
INFO  - 2015-05-20 10:36:22.537;
org.apache.solr.cloud.ShardLeaderElectionContext; My last published State
was Active, it's okay to be the leader.
INFO  - 2015-05-20 10:36:22.537;
org.apache.solr.cloud.ShardLeaderElectionContext; I may be the new leader -
try and sync
INFO  - 2015-05-20 10:36:24.777;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/cores params={indexInfo=false&_=1432132584764&wt=json} status=0
QTime=4
INFO  - 2015-05-20 10:36:24.802;
org.apache.solr.servlet.SolrDispatchFilter; [admin] webapp=null
path=/admin/info/system params={_=1432132584793&wt=json} status=0 QTime=1
INFO  - 2015-05-20 10:36:25.037; org.apache.solr.cloud.SyncStrategy; Sync
replicas to http://10.1.172.231:8987/solr/myapp47_shard1_replica1/
ERROR - 2015-05-20 10:36:25.037; org.apache.solr.cloud.SyncStrategy; No
UpdateLog found - cannot sync
INFO  - 2015-05-20 10:36:25.037;
org.apache.solr.cloud.ShardLeaderElectionContext; We failed sync, but we
have no versions - we can't sync in that case - we were active before, so
become leader anyway
INFO  - 2015-05-20 10:36:25.037;
org.apache.solr.cloud.ShardLeaderElectionContext; I am the new leader:
http://10.1.172.231:8987/solr/myapp47_shard1_replica1/ shard1
INFO  - 2015-05-20 10:36:25.037; org.apache.solr.common.cloud.SolrZkClient;
makePath: /collections/myapp47/leaders/shard1
INFO  - 2015-05-20 10:36:25.045;
org.apache.solr.cloud.OverseerElectionContext; I am going to be the leader
10.1.172.231:8987_solr
INFO  - 2015-05-20 10:36:25.045; org.apache.solr.common.cloud.SolrZkClient;
makePath: /overseer_elect/leader
INFO  - 2015-05-20 10:36:25.047; org.apache.solr.cloud.Overseer; Overseer
(id=93856238667694080-10.1.172.231:8987_solr-n_0000000009) starting
INFO  - 2015-05-20 10:36:25.060;
org.apache.solr.cloud.OverseerCollectionProcessor; Process current queue of
collection creations
INFO  - 2015-05-20 10:36:25.061;
org.apache.solr.cloud.OverseerCollectionProcessor; prioritizing overseer
nodes
INFO  - 2015-05-20 10:36:25.061;
org.apache.solr.cloud.Overseer$ClusterStateUpdater; Starting to work on the
main queue
INFO  - 2015-05-20 10:36:25.063;
org.apache.solr.common.cloud.ZkStateReader; Updating cloud state from
ZooKeeper...
INFO  - 2015-05-20 10:36:25.064;
org.apache.solr.cloud.Overseer$ClusterStateUpdater; Update state
numShards=2 message={
  "operation":"state",
  "state":"down",
  "base_url":"http://10.1.172.231:8987/solr",
  "core":"myapp47_shard2_replica1",
  "roles":null,
  "node_name":"10.1.172.231:8987_solr",
  "shard":"shard2",
  "collection":"myapp47",
  "numShards":"2",
  "core_node_name":"core_node2"}
INFO  - 2015-05-20 10:36:25.067;
org.apache.solr.cloud.DistributedQueue$LatchChildWatcher; LatchChildWatcher
fired on path: /overseer/queue state: SyncConnected type NodeChildrenChanged
INFO  - 2015-05-20 10:36:25.068;
org.apache.solr.common.cloud.ZkStateReader$2; A cluster state change:
WatchedEvent state:SyncConnected type:NodeDataChanged
path:/clusterstate.json, has occurred - updating... (live nodes size: 1)
INFO  - 2015-05-20 10:36:25.071;
org.apache.solr.common.cloud.ZkStateReader; Updating cloud state from
ZooKeeper...
INFO  - 2015-05-20 10:36:25.072;
org.apache.solr.cloud.Overseer$ClusterStateUpdater; Update state
numShards=2 message={
  "operation":"state",
  "state":"down",
  "base_url":"http://10.1.172.231:8987/solr",
  "core":"myapp47_shard1_replica1",
  "roles":null,
  "node_name":"10.1.172.231:8987_solr",
  "shard":"shard1",
  "collection":"myapp47",
  "numShards":"2",
  "core_node_name":"core_node1"}
INFO  - 2015-05-20 10:36:25.075;
org.apache.solr.cloud.DistributedQueue$LatchChildWatcher; LatchChildWatcher
fired on path: /overseer/queue state: SyncConnected type NodeChildrenChanged
INFO  - 2015-05-20 10:36:25.078;
org.apache.solr.cloud.DistributedQueue$LatchChildWatcher; LatchChildWatcher
fired on path: /overseer/queue state: SyncConnected type NodeChildrenChanged
INFO  - 2015-05-20 10:36:25.081;
org.apache.solr.cloud.DistributedQueue$LatchChildWatcher; LatchChildWatcher
fired on path: /overseer/queue state: SyncConnected type NodeChildrenChanged
INFO  - 2015-05-20 10:36:25.083;
org.apache.solr.cloud.DistributedQueue$LatchChildWatcher; LatchChildWatcher
fired on path: /overseer/queue state: SyncConnected type NodeChildrenChanged
INFO  - 2015-05-20 10:36:25.086;
org.apache.solr.cloud.DistributedQueue$LatchChildWatcher; LatchChildWatcher
fired on path: /overseer/queue state: SyncConnected type NodeChildrenChanged
INFO  - 2015-05-20 10:36:25.190;
org.apache.solr.common.cloud.ZkStateReader$2; A cluster state change:
WatchedEvent state:SyncConnected type:NodeDataChanged
path:/clusterstate.json, has occurred - updating... (live nodes size: 1)


On Wed, May 20, 2015 at 10:44 AM, Chetan Vora <chetanvora@gmail.com> wrote:

> Erick
>
> Thanks for your response.
>
> Logs don't seem to show any explicit errors (I have log level at INFO).
>
> I am attaching the logs from a 4.7 start and a 5.1 start here. Note that
> both logs seem to show the shards as "Down" initially but for 5.1, the
> state change to Active later on.
>
> Also, note that all the config files, libraries, jarfiles  etc are the
> same for both Solr instances.
>
> Regards
>
>
> On Tue, May 19, 2015 at 11:57 AM, Erick Erickson <erickerickson@gmail.com>
> wrote:
>
>> What you've done _looks_ correct at a glance. Take a look at the Solr
>> logs. Don't bother trying to index things unless and until your nodes
>> are "active", it won't happen.
>>
>> My first guess is that you have some error in your schema or
>> solrconfig.xml files, syntax errors, typos, class names that are
>> mis-typed, jars that are missing, whatever.
>>
>> If that's true, the Solr log (or the screen if you're just running
>> from the command line) will show big ugly stack traces.
>>
>> If nothing shows up in the logs then I'm puzzled, but what you
>> describe is consistent with what I've seen in terms of having bad
>> configs and trying to create a collection.
>>
>> Best,
>> Erick
>>
>> On Tue, May 19, 2015 at 4:33 AM, Chetan Vora <chetanvora@gmail.com>
>> wrote:
>> > Hi all
>> >
>> > We have a cluster of standalone Solr cores (Solr 4.3) for which we had
>> > built  some custom plugins. I'm now trying to prototype converting the
>> > cluster to a Solr Cloud cluster. This is how I am trying to deploy the
>> > cores (in 4.7.2).
>> >
>> >    1.
>> >
>> >    Start solr with zookeeper embedded.
>> >
>> >    java -DzkRun -Djetty.port=8985 -jar start.jar
>> >    2.
>> >
>> >    upload a config into Zookeeper (same config as the standalone cores)
>> >
>> >    zkcli.bat -zkhost localhost:9985 -cmd upconfig -confdir myconfig
>> >    -confname myconfig
>> >    3.
>> >
>> >    Create a new collection (mycollection) of 2 shards using the
>> Collections
>> >    API
>> >
>> http://localhost:8985/solr/admin/collections?action=CREATE&name=mycollection&numShards=2&replicationFactor=1&maxShardsPerNode=2&collection.configName=myconfig
>> >
>> > So at this point I have two shards under my solr directory with the
>> > appropriate core.properties
>> >
>> > But when I go to http://localhost:8985/solr/#/~cloud, I see that the
>> two
>> > shards' status is "Down" when they are supposed to be active by default.
>> >
>> > And when I try to index documents in them using SolrJ (via
>> CloudSolrServer
>> > API) , I get the error "No live SolrServers available to handle this
>> > request". I restarted Solr but same issue.
>> >
>> > private CloudSolrServer cloudSolr;
>> >     cloudSolr = new CloudSolrServer(zkHOST);
>> >     cloudSolr.setZkClientTimeout(zkClientTimeout);
>> >     cloudSolr.setDefaultCollection(collectionName);
>> >     cloudSolr.connect();
>> >     cloudSolr.add(doc)
>> >
>> > What am I doing wrong? I did a lot of digging around and saw an old Jira
>> > bug saying that Solr Cloud shards won't be active until there are some
>> > documents in the index. If that is the reason, that's kind of like a
>> > catch-22 isn't it?
>> >
>> > So anyways, I also tried adding some test documents manually and
>> committed
>> > to see if things improved. Now on the shard statistics page, it
>> correctly
>> > gives me the Numdocs count but when I try to query it says "no servers
>> > hosting shard". I next tried passing in shards.tolerant=true as a query
>> > parameter and search, but no cigar. It says 0 documents found.
>> >
>> > Any help would be appreciated. My main objective is to rebuilt the old
>> > standalone cores using SolrCloud and test to see if our custom
>> > requesthandlers still work as expected. And at this point, I can't index
>> > documents inside of the 4.7 Solr Cloud collection I have created. I am
>> > trying to use a 4.x SolrCloud release as it seems the internal APIs have
>> > changed quite a bit for the 5.x releases and our custom requesthandlers
>> > don't work anymore as expected.
>> >
>> > Thanks and Regards
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message