Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make index成功,tablelist中能看到有记录,但jdbc查询时返回出错,何解 #71

Open
urmyfiree opened this issue Jun 18, 2014 · 0 comments

Comments

@urmyfiree
Copy link

日志如下:

2014-06-18 14:53:53 MdrillService [INFO] higorequest:qdy,0,20,[{"thedate":{"value":["20140616"],"operate":"1"}}],email,name,null,null,null,null,
2014-06-18 14:53:53 MdrillService [INFO] query:qdy,0,20,[{"thedate":{"value":["20140616"],"operate":"1"}}],email,name,null,null,null,null,
2014-06-18 14:53:53 MdrillService [INFO] request core.size=2
2014-06-18 14:53:53 MdrillService [INFO] partionsAll:[20140616]
2014-06-18 14:53:53 MdrillService [INFO] queryinfo:http://192.168.10.1:51213/solr/qdy/select/?showlog=1&shards=192.168.10.1%3A51110%2Fsolr%2Fqdy%4020140616%2C192.168.10.1%3A51111%2Fsolr%2Fqdy%4020140616%2C&mlogtime=20140618145353&maxshards=12&mergeservers=192.168.10.1%3A51212%2Fsolr%2Fqdy%2C192.168.10.1%3A51213%2Fsolr%2Fqdy%2C192.168.10.1%3A51212%2Fsolr%2Fqdy%2C192.168.10.1%3A51213%2Fsolr%2Fqdy%2C192.168.10.1%3A51212%2Fsolr%2Fqdy%2C192.168.10.1%3A51213%2Fsolr%2Fqdy%2C192.168.10.1%3A51212%2Fsolr%2Fqdy%2C192.168.10.1%3A51213%2Fsolr%2Fqdy%2C192.168.10.1%3A51212%2Fsolr%2Fqdy%2C192.168.10.1%3A51213%2Fsolr%2Fqdy%2C&start=0&rows=0&fq=thedate%3A20140616&q=*%3A*&facet=true&facet.sort=index&facet.cross.isdetail=true&facet.cross=true&facet.cross.join=%40&facet.cross.offset=0&facet.cross.limit=20&fetchfdt=false&facet.field=email&facet.field=name&facet.cross.sort.desc=true&facet.cross.sort.fl=higoempty_count_s&facet.cross.sort.cp=tdouble
2014-06-18 14:53:54 MdrillService [INFO] timetaken:830,logParams2:qdy,0,20,[{"thedate":{"value":["20140616"],"operate":"1"}}],email,name,null,null,null,null,
2014-06-18 14:53:54 log [WARN] /higo/result.jsp
java.lang.Exception
at com.alimama.mdrill.ui.service.MdrillService.result(MdrillService.java:453)
at org.apache.jsp.result_jsp._jspService(org.apache.jsp.result_jsp:72)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)

2014-06-18 14:53:54 log [WARN] /sql.jsp
java.sql.SQLException: com.alimama.mdrill.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
SqlParser [
sql=select email,name from qdy where thedate='20140616',
tablename=qdy,
fl=email,name,
groupby=null,
sort=null,
order=null,
queryStr=[{"thedate":{"value":["20140616"],"operate":"1"}}],
start=0,
rows=20,
colsAliasNames=[email, name],
colsNames=[email, name]
]

at com.alimama.mdrill.jdbc.MdrillStatement.executeQuery(MdrillStatement.java:172)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant