Hi Qingyang Li, Shark-0.9.0 uses a patched version of hive-0.11 and using configuration/metastore of hive-0.12 could be incompatible.
May I know the reason you are using hive-site.xml from previous hive version(to use existing metastore?). You might just leave hive-site.xml blank, otherwise. Something like this: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> </configuration> In any case you could run ./bin/shark-withdebug for any errors. Regards, Praveen On 25-Mar-2014, at 1:49 pm, qingyang li <liqingyang1...@gmail.com> wrote: > reopen this thread because i encounter this problem again. > Here is my env: > scala 2.10.3 s > spark 0.9.0 tandalone mode > shark 0.9.0 downlaod the source code and build by myself > hive hive-shark-0.11 > I have copied hive-site.xml from my hadoop cluster , it's hive version is > 0.12, after copied , i deleted some attributes from hive-site.xml > > When run select count(*) from xxx, no resut and no errors output. > > Can someone give me some suggestions to debug ? > > > > > > 2014-03-20 11:27 GMT+08:00 qingyang li <liqingyang1...@gmail.com>: > have found the cause , my problem is : > the style of file salves is not correct, so the task only be run on master. > > explain here to help other guy who also encounter similiar problem. > > > 2014-03-20 9:57 GMT+08:00 qingyang li <liqingyang1...@gmail.com>: > > Hi, i install spark0.9.0 and shark0.9 on 3 nodes , when i run select * from > src , i can get result, but when i run select count(*) from src or select * > from src limit 1, there is no result output. > > i have found similiar problem on google groups: > https://groups.google.com/forum/#!searchin/spark-users/Shark$20does$20not$20give$20any$20results$20with$20SELECT$20command/spark-users/oKMBPBWim0U/_hbDCi4m-xUJ > but , there is no solution on it. > > Does anyone encounter such problem? > >