{ "info": { "author": "Belly", "author_email": "hiverunner@bellycard.com", "bugtrack_url": null, "classifiers": [], "description": "===========\nHive Runner\n===========\n\nHive Runner is a python script that pulls saved queries from Beeswax, runs the\nqueries on Hive, and stores the results in Memcache.\n\nUsing Hive Runner\n=================\n\nRequirements\n------------\n\n* Python 2.7\n* Cloudera Beeswax - Beeswax must be using a MySQL Database for storage.\n* HiveServer - You must be running HiveServer version 1. Note that Cloudera\u2019s\n Hadoop distribution only ships with version 2. You can easily install version\n 1 using Cloudera\u2019s package repositories.\n* Memcached - You must have Memcached running somewhere.\n* Pip - Pip is used for Python package dependency.\n\nInstallation\n------------\n\n* Optionally, create a VirtualEnv: ``virtualenv environment-name``\n* Optionally, use your VirtualEnv: ``source environment-name/bin/activate``\n* Install Hive Runner via pip: ``pip install hiverunner``\n\nUsage\n-----\n\nHive Runner has flexible parameters. Available options can be seen by running\n``hiverunner --help``. The most important parameters to include when running\nHive Runner from the command line are connection settings.\n\nFor example, to run all queries in Beeswax prepended with ``_hourly`` and\ncaching the results in memcache::\n\n hiverunner --hourly \\\n --mysql-host mysql01.example.com \\\n --mysql-database beeswax \\\n --mysql-user hue \\\n --mysql-password secret \\\n --hive-host hive01.example.com \\\n --memcache-host cache01.example.com\n\nYou can run the same command for all queries prepended with ``_weekly`` simply\nby changing the ``hourly`` parameter to ``weekly``::\n\n hiverunner --weekly \\\n --mysql-host mysql01.example.com \\\n --mysql-database beeswax \\\n --mysql-user hue \\\n --mysql-password secret \\\n --hive-host hive01.example.com \\\n --memcache-host cache01.example.com\n\nIf you find that you need to run custom named queries or only a single query the\n``custom`` parameter makes this easy. Simply provide the name of the query that\nmust be run.\n\nFor example, to run a single query regardless of the prepended time-focused\ndemarcation::\n\n hiverunner --custom _daily_custom_query \\\n --mysql-host mysql01.example.com \\\n --mysql-database beeswax \\\n --mysql-user hue \\\n --mysql-password secret \\\n --hive-host hive01.example.com \\\n --memcache-host cache01.example.com\n\nThis format makes it easy to schedule cron jobs.\n\nMore Information\n================\n\nHive Runner is open source software and available at\nhttps://github.com/bellycard/hiverunner. Bug reports, feature requests, and\ncontributions are welcome!\n\nContributors\n============\n\nAJ Self \n\nKevin Reedy \n\nLicense\n=======\n\nApache License, Version 2.0\n\nhttp://www.apache.org/licenses/LICENSE-2.0", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bellycard/hiverunner", "keywords": null, "license": "Apache License 2.0", "maintainer": null, "maintainer_email": null, "name": "hiverunner", "package_url": "https://pypi.org/project/hiverunner/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hiverunner/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bellycard/hiverunner" }, "release_url": "https://pypi.org/project/hiverunner/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Hive Runner is a python script that pulls saved queries from Beeswax, runs the queries on Hive, and stores the results in Memcache.", "version": "1.0.1" }, "last_serial": 923980, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "5fb424dab467d23476b626c285f21ab6", "sha256": "9eece0376a411eda14b12e7cf31958a6368721d03fd758b2091d234b3a6fada3" }, "downloads": -1, "filename": "hiverunner-0.9.0.tar.gz", "has_sig": false, "md5_digest": "5fb424dab467d23476b626c285f21ab6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3726, "upload_time": "2013-08-28T04:59:58", "url": "https://files.pythonhosted.org/packages/c7/e1/7353061b35356cb7f46041089501ef1106becb11a612f207e03617611e79/hiverunner-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "f9250a64ac1fed759b8d0d4c3310af7c", "sha256": "75ea71aef4cf258b8f10cd0dc15f3bf141b587a0855efa3eb7573bbf0fc13386" }, "downloads": -1, "filename": "hiverunner-0.9.1.tar.gz", "has_sig": false, "md5_digest": "f9250a64ac1fed759b8d0d4c3310af7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4104, "upload_time": "2013-08-28T05:06:15", "url": "https://files.pythonhosted.org/packages/d5/e8/dfe7f9dfd26f56fc511cff2237bf86067129c5caf3daad3106b5b8378646/hiverunner-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "c69f714ee8deb92d55d68e1daef29679", "sha256": "8b810b8808fe6f44a658f85c529610c4f128686237cd15a027279efa532907f7" }, "downloads": -1, "filename": "hiverunner-0.9.2.tar.gz", "has_sig": false, "md5_digest": "c69f714ee8deb92d55d68e1daef29679", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8183, "upload_time": "2013-08-28T05:17:19", "url": "https://files.pythonhosted.org/packages/32/f0/bc372e041bbf4337d79f07a5b783a41025c32e2358c09ff276dcade2d712/hiverunner-0.9.2.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "3d1b031ab1517d993634af2b7ce7ad46", "sha256": "0f721137a325bb79e99c7459c9fbf3f319fd652007b20564e3a8c9f0b01c480c" }, "downloads": -1, "filename": "hiverunner-0.9.4.tar.gz", "has_sig": false, "md5_digest": "3d1b031ab1517d993634af2b7ce7ad46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8200, "upload_time": "2013-08-28T05:50:36", "url": "https://files.pythonhosted.org/packages/12/4a/0426169ad24678ecb6c4086cdd43e6f5d2b2cd88e7481c5b36062bf99261/hiverunner-0.9.4.tar.gz" } ], "0.9.5": [ { "comment_text": "", "digests": { "md5": "b4755a21baa9545ff771ee29f2f288a7", "sha256": "d0fc6d860f297f88019d487b1dad3f13f170969de60114b5efe5e17d34104c6e" }, "downloads": -1, "filename": "hiverunner-0.9.5.tar.gz", "has_sig": false, "md5_digest": "b4755a21baa9545ff771ee29f2f288a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8293, "upload_time": "2013-08-28T05:52:32", "url": "https://files.pythonhosted.org/packages/2f/83/cc25e696de3ffcf62edc370212a361194cec2061eea8c4158aeccaa5d770/hiverunner-0.9.5.tar.gz" } ], "0.9.6": [ { "comment_text": "", "digests": { "md5": "142518ea57cd075f0aa13151d97bab51", "sha256": "d19d4be0c419a3cf3a9aa4dd8875175ee2036636a203d125c65cbc404b24977e" }, "downloads": -1, "filename": "hiverunner-0.9.6.tar.gz", "has_sig": false, "md5_digest": "142518ea57cd075f0aa13151d97bab51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8288, "upload_time": "2013-08-28T06:02:10", "url": "https://files.pythonhosted.org/packages/e0/42/92dfad0ad6537d3f136edcc2457eb084488b12ef7e86f88449616856b28c/hiverunner-0.9.6.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "f6793881ef02872d12c270253745cd97", "sha256": "e77e81b5c253aa3dbda8581c83846607e5d3cdc0183d31f5812c0eabaf523308" }, "downloads": -1, "filename": "hiverunner-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f6793881ef02872d12c270253745cd97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8285, "upload_time": "2013-08-28T06:03:28", "url": "https://files.pythonhosted.org/packages/09/5e/3f246feef28221e33a2b1b279abbe60f599c1618ed0c8045c38243d7c0ed/hiverunner-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e71fc8a624cfabe8aab8315dba61dabb", "sha256": "c2293192f860967563c7d2950baaf48b322263cfc29cdcb0fc5bccb9e0a5110e" }, "downloads": -1, "filename": "hiverunner-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e71fc8a624cfabe8aab8315dba61dabb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8327, "upload_time": "2013-11-19T21:03:55", "url": "https://files.pythonhosted.org/packages/29/3e/1c3ec7be3ec778dec825f2e777e8dbc653ed9b0f3758476c3556d43c1601/hiverunner-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e71fc8a624cfabe8aab8315dba61dabb", "sha256": "c2293192f860967563c7d2950baaf48b322263cfc29cdcb0fc5bccb9e0a5110e" }, "downloads": -1, "filename": "hiverunner-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e71fc8a624cfabe8aab8315dba61dabb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8327, "upload_time": "2013-11-19T21:03:55", "url": "https://files.pythonhosted.org/packages/29/3e/1c3ec7be3ec778dec825f2e777e8dbc653ed9b0f3758476c3556d43c1601/hiverunner-1.0.1.tar.gz" } ] }