I import the spark source to eclipse:
But I got some error:
The declared package "org.apache.hive.service.cli.thrift" does not match the expected package "java.org.apache.hive.service.cli.thrift"
What should I do?
You don't want the "java" folder in there, the top level of the source folder should be "org", i.e. the top level package name.