2015-01-02 11:17:04,829][INFO ][river.jdbc.RiverMetrics ] pipeline
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline@730a6f3 complete: river
jdbc/users metrics: 0 rows, 0.0 mean, (0.0 0.0 0.0), ingest metrics:
elapsed 0 seconds, 0.0 bytes bytes, 0.0 bytes avg, 0 MB/s
[2015-01-02 11:17:04,808][ERROR][river.jdbc.RiverPipeline ]
java.lang.NullPointerException
java.io.IOException: java.lang.NullPointerException
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.fetch(SimpleRiverSource.java:341)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverFlow.fetch(SimpleRiverFlow.java:220)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverFlow.execute(SimpleRiverFlow.java:149)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.request(RiverPipeline.java:88)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(RiverPipeline.java:66)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(RiverPipeline.java:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.getConnectionForReading(SimpleRiverSource.java:212)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.execute(SimpleRiverSource.java:376)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.fetch(SimpleRiverSource.java:320)
... 9 more
I am using integrated security and the Service is running as an account
that has access to the DB as well as the elasticsearch folders. We have
other services on the same machine that use the same account and am not
getting Connection refused errors.
Any ideas?
It doesn't appear that it is getting any actual data from the database.
Not sure how to check that other than a search query which is returning no
results.
I have set up Elasticsearch 1.4.2 and river-jdbc from jprante. I was able
to add a river using sense
put _river/users/_meta
{
"type":"jdbc",
"jdbc": {
"url":"jdbc:sqlserver://My.SQLSever.mydomain.com:1433;databaseName=webrepos;integratedSecurity=true;","sql":"SELECT
FROM [Webrepos].[dbo].[User]"
}
}
This takes but then in the logs I'm getting this:
2015-01-02 11:17:04,829][INFO ][river.jdbc.RiverMetrics ] pipeline
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline@730a6f3 complete: river
jdbc/users metrics: 0 rows, 0.0 mean, (0.0 0.0 0.0), ingest metrics:
elapsed 0 seconds, 0.0 bytes bytes, 0.0 bytes avg, 0 MB/s
[2015-01-02 11:17:04,808][ERROR][river.jdbc.RiverPipeline ]
java.lang.NullPointerException
java.io.IOException: java.lang.NullPointerException
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.fetch(SimpleRiverSource.java:341)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverFlow.fetch(SimpleRiverFlow.java:220)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverFlow.execute(SimpleRiverFlow.java:149)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.request(RiverPipeline.java:88)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(RiverPipeline.java:66)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(RiverPipeline.java:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.getConnectionForReading(SimpleRiverSource.java:212)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.execute(SimpleRiverSource.java:376)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.fetch(SimpleRiverSource.java:320)
... 9 more
I am using integrated security and the Service is running as an account
that has access to the DB as well as the elasticsearch folders. We have
other services on the same machine that use the same account and am not
getting Connection refused errors.
Any ideas?
It doesn't appear that it is getting any actual data from the database.
Not sure how to check that other than a search query which is returning no
results.
2015-01-02 11:17:04,829][INFO ][river.jdbc.RiverMetrics ] pipeline
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline@730a6f3 complete: river
jdbc/users metrics: 0 rows, 0.0 mean, (0.0 0.0 0.0), ingest metrics:
elapsed 0 seconds, 0.0 bytes bytes, 0.0 bytes avg, 0 MB/s
[2015-01-02 11:17:04,808][ERROR][river.jdbc.RiverPipeline ]
java.lang.NullPointerException
java.io.IOException: java.lang.NullPointerException
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.fetch(SimpleRiverSource.java:341)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverFlow.fetch(SimpleRiverFlow.java:220)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverFlow.execute(SimpleRiverFlow.java:149)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.request(RiverPipeline.java:88)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(RiverPipeline.java:66)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(RiverPipeline.java:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.getConnectionForReading(SimpleRiverSource.java:212)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.execute(SimpleRiverSource.java:376)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.fetch(SimpleRiverSource.java:320)
... 9 more
I am using integrated security and the Service is running as an account
that has access to the DB as well as the elasticsearch folders. We have
other services on the same machine that use the same account and am not
getting Connection refused errors.
Any ideas?
It doesn't appear that it is getting any actual data from the database.
Not sure how to check that other than a search query which is returning no
results.
2015-01-02 11:17:04,829][INFO ][river.jdbc.RiverMetrics ] pipeline
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline@730a6f3 complete: river
jdbc/users metrics: 0 rows, 0.0 mean, (0.0 0.0 0.0), ingest metrics:
elapsed 0 seconds, 0.0 bytes bytes, 0.0 bytes avg, 0 MB/s
[2015-01-02 11:17:04,808][ERROR][river.jdbc.RiverPipeline ]
java.lang.NullPointerException
java.io.IOException: java.lang.NullPointerException
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.fetch(SimpleRiverSource.java:341)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverFlow.fetch(SimpleRiverFlow.java:220)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverFlow.execute(SimpleRiverFlow.java:149)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.request(RiverPipeline.java:88)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(RiverPipeline.java:66)
at
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(RiverPipeline.java:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.getConnectionForReading(SimpleRiverSource.java:212)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.execute(SimpleRiverSource.java:376)
at
org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.fetch(SimpleRiverSource.java:320)
... 9 more
I am using integrated security and the Service is running as an account
that has access to the DB as well as the elasticsearch folders. We have
other services on the same machine that use the same account and am not
getting Connection refused errors.
Any ideas?
It doesn't appear that it is getting any actual data from the database.
Not sure how to check that other than a search query which is returning no
results.
I have set up Elasticsearch 1.4.2 and river-jdbc from jprante. I was
able to add a river using sense
put _river/users/_meta
{
"type":"jdbc",
"jdbc": {
"url":"jdbc:sqlserver://My.SQLSever.mydomain.com:1433;
databaseName=webrepos;integratedSecurity=true;","sql":"SELECT * FROM
[Webrepos].[dbo].[User]"
}
}
This takes but then in the logs I'm getting this:
2015-01-02 11:17:04,829][INFO ][river.jdbc.RiverMetrics ] pipeline
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline@730a6f3 complete:
river jdbc/users metrics: 0 rows, 0.0 mean, (0.0 0.0 0.0), ingest metrics:
elapsed 0 seconds, 0.0 bytes bytes, 0.0 bytes avg, 0 MB/s
[2015-01-02 11:17:04,808][ERROR][river.jdbc.RiverPipeline ]
java.lang.NullPointerException
java.io.IOException: java.lang.NullPointerException
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverSource.fetch(SimpleRiverSource.java:341)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverFlow.fetch(SimpleRiverFlow.java:220)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverFlow.execute(SimpleRiverFlow.java:149)
at org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.request(
RiverPipeline.java:88)
at org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(
RiverPipeline.java:66)
at org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(
RiverPipeline.java:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.SimpleRiverSource.
getConnectionForReading(SimpleRiverSource.java:212)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverSource.execute(SimpleRiverSource.java:376)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverSource.fetch(SimpleRiverSource.java:320)
... 9 more
I am using integrated security and the Service is running as an account
that has access to the DB as well as the elasticsearch folders. We have
other services on the same machine that use the same account and am not
getting Connection refused errors.
Any ideas?
It doesn't appear that it is getting any actual data from the
database. Not sure how to check that other than a search query which is
returning no results.
I have set up Elasticsearch 1.4.2 and river-jdbc from jprante. I was
able to add a river using sense
put _river/users/_meta
{
"type":"jdbc",
"jdbc": {
"url":"jdbc:sqlserver://My.SQLSever.mydomain.com:1433;
databaseName=webrepos;integratedSecurity=true;","sql":"SELECT * FROM
[Webrepos].[dbo].[User]"
}
}
This takes but then in the logs I'm getting this:
2015-01-02 11:17:04,829][INFO ][river.jdbc.RiverMetrics ] pipeline
org.xbib.elasticsearch.plugin.jdbc.RiverPipeline@730a6f3 complete:
river jdbc/users metrics: 0 rows, 0.0 mean, (0.0 0.0 0.0), ingest metrics:
elapsed 0 seconds, 0.0 bytes bytes, 0.0 bytes avg, 0 MB/s
[2015-01-02 11:17:04,808][ERROR][river.jdbc.RiverPipeline ]
java.lang.NullPointerException
java.io.IOException: java.lang.NullPointerException
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverSource.fetch(SimpleRiverSource.java:341)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverFlow.fetch(SimpleRiverFlow.java:220)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverFlow.execute(SimpleRiverFlow.java:149)
at org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.request(
RiverPipeline.java:88)
at org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(
RiverPipeline.java:66)
at org.xbib.elasticsearch.plugin.jdbc.RiverPipeline.call(
RiverPipeline.java:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverSource.getConnectionForReading(SimpleRiverSource.java:212)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverSource.execute(SimpleRiverSource.java:376)
at org.xbib.elasticsearch.river.jdbc.strategy.simple.
SimpleRiverSource.fetch(SimpleRiverSource.java:320)
... 9 more
I am using integrated security and the Service is running as an
account that has access to the DB as well as the elasticsearch folders. We
have other services on the same machine that use the same account and am
not getting Connection refused errors.
Any ideas?
It doesn't appear that it is getting any actual data from the
database. Not sure how to check that other than a search query which is
returning no results.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.