Once merged mark the review as submitted - Close > Submitted.If successful, the change would be auto merged to master.Two builds would be made - One for Python 2.7 and another for Python 3.6.The push will auto run the tests and push it to master.Once we get ship it from at least one reviewer, we can push the changes to master git rebase origin/master Update the review: git push bob HEAD:ISSUE-1000-fix -fĪnd it will automatically kick the CI and notify reviewers. Modify the previous commit diff: git add for asking reviewers and auto merging when all the checks are green: gh pr create -fill -assignee=romainr -reviewer=agl29,Harshg999 GitHub CLI is recommended for automating even more the process. if you are ‘bob’: git remote add bob Īnd create the pull request to cloudera/hue via the button on the page. Or push to your branch in your repository fork, e.g. If you've never used git and github before, there are bunch of things you need to do before going further.Ĭreate a new branch with the Github issue GH-XXX or explicit name as the branch name: git checkout masterĮither post via the GitHub CLI: gh pr create -fill -assignee=romainr -web It also automatically runs the CI (syntax check, tests…) for you. Hue project uses GitHub Pull Requests (PR) for code reviews. Here is a tutorial about how to sent a patch request for review. build/env/envĭuring the development process if you are facing any problem then, it is recommended to search for information on the Forum and in the bug tracker. Second step is to configure the debug configurationįirst step is to configure Eclipse to use the Hue virtual environment at. git/hooksĪdding the ‘hue’ directory as a workspace, then:įirst step is to configure pycharm to use the Hue virtual environment at. # Port where HiveServer2 Thrift server runs on.īelow the ] of, add: ]]Īnd restart Hue, open the Editors and start typing your first queries! Dev environment Lint configsįor checking git commit message format automatically locally: cp tools/githooks/*. Now under Hue open desktop/conf/pseudo-distributed.ini file in a text editor, and modify the following properties:ĭirectly below the ] line, add the following: # Host where HiveServer2 is running. Just follow the above 3 steps and you would have a running Hive instance on jdbc:hive2://localhost:10000. You can connect to an existing Hive instance or setup a new one locally. In desktop/conf/pseudo-distributed.ini, below the ] section of of. For other supported databases refer to the connectors. Here is how to point the Editor to either MySql or Apache Hive and execute your first SQL queries. Add the following options (and modify accordingly) for your MySQL setup:ĭirectly below the ] line, add the following. Open the desktop/conf/pseudo-distributed.ini file in a text editor. It is recommended to use MySQL or PostGreSQL for development. Once build, in order to avoid the database is locked errors, you also need to connect Hue to a transactional database. Persistence: Hue needs an existing database with transactions like MySQL to support concurrent requests and also not lose the registered users, saved queries, sharing permissions… when the server gets stopped. If you are changing JavaScript or CSS files, also start: npm run dev Then start the dev server (which will auto reload on file changes). The dependencies documentation is here to help for troubleshooting build issues. Python 3.6+ and Django 3 (or Python 2.7 with Django 1.11)īuild once: # If you are using Python 3.6+, set PYTHON_VER before the build, like.The OS specific packages are listed in the install guide.This section goes into greater detail on how to build and reuse the components of Hue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |