Cleaning up code based on Yuan's feedback


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@253 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Adding test cases for queries that containt keywords

These are test cases for the frontend of YSmart. Non of the test cases pass at this point with the frontend generated with the original YSmart grammar. I need to update the grammar and generate the front end again but it means that the new frontent may break the backend.


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@254 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Adding back UID to the set of reserved words to the YSmart grammar



git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@255 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Calling the Python function for generating the Hadoop jobs instead of forking a new process.

This change makes the code more maintainable. It also makes the code debugable in a debugger
wq


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@256 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Removing some of the global variables from config.

The input path, the output path, and ... are not config options. It is easier to understand the code and maintain it if these values are passsed to the functions as parameters.


git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@257 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
Cosmetics and code formating only



git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@258 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0
A bit more of error checking.



git-svn-id: http://ysmart.googlecode.com/svn/branches/pure-python@259 1d6e5d1b-7b3d-7f63-4173-3946eeb354c0