{ "info": { "author": "Miguel Cabrera", "author_email": "mfcabrera@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "doopla\n===============================\nH(ad)oopla!\nA Python script to fetch the output of failed Python Hadoop streaming jobs. It scraps\nthe hadoop web interface and gets a random failed mapper and reducer task. It outputs it with\ncode highlighting for easy reading.\n\n\n doopla -h\n\n Usage:\n doopla []\n doopla -h | --help\n doopla --version\n\n Options:\n -h --help Show this screen.\n --version Show version.\n\n\nFeatures\n--------\n* Automatically get the last failed job for a user\n* Code highlighting via `Pygments`.\n\nInstall\n------\nTwo options for installing:\n\n*Via Pip::*\n\n pip install doopla\n\n*git clone and setup.py*:\n\n git clone git@github.com:trustyou/doopla.git\n cd doopla\n python setup.py install\n\nUsage\n-----\nBefore using `doopla` please create a file in your home directory called `.doopla` and add\nthe follwoing:\n\n\n [main]\n hadoop_version: # either 1 or 2 - defaults to 2\n hadoop_user: \n hadoop_url: # For Hadoop 2.x use the Job history URL\n http_user: \n http_password: \n\nReplace `HADOOP_URL` for the HTTP URL of your the Hadoop Web interface. Replace `HADOOP_USER` for your hadoop user (or the one you want to check) and the `HTTP_PASSWORD` for the http password you normally use to log into the web interface.\n\nThe is simple a mather of executing\n\n\n $ doopla\n\nIt will search for the most recently failed job and get the output.\n\nOr\n\n $ doopla JOB_ID\n\nIf you want to get the output of a specific job.\n\nYou can also add `2>/dev/null` if you want to shut down the HTTPS certificate warnings.\n\nScreenshot\n----------\n\n![alt text](https://www.dropbox.com/s/at10xpaut2xz2iw/sample.png?raw=1)\n\n\n\nDevelopment\n-----------\nThis is a 4 hours hack while skipping lunch and waiting for a job to finish so it is in alpha\nstage and it is full of bugs. So feel free to create pull requests if you see something\nthat can be improved.\n\n\nRequirements\n------------\n- Python >= 2.6 or >= 3.3\n- Colorama\n- BeautifulSoup\n- Requests\n- Pygments\n\nLicense\n-------\n\nMIT licensed. See the bundled `LICENSE `_ file for more details.", "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/trustyou/doopla", "keywords": "doopla", "license": "Copyright 2015 Miguel Cabrera\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "doopla", "package_url": "https://pypi.org/project/doopla/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/doopla/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/trustyou/doopla" }, "release_url": "https://pypi.org/project/doopla/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "A Python script to fetch the output of fail tasks from ours Hadoop clusters", "version": "0.3.0" }, "last_serial": 2362755, "releases": { "0.2.0": [], "0.2.1": [ { "comment_text": "", "digests": { "md5": "cb3d2b455946de19abc12da9e1c651b3", "sha256": "6f64d14dea26348d6624da848a1b98323fdb993b8bf6b9e1b6409418367411e1" }, "downloads": -1, "filename": "doopla-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cb3d2b455946de19abc12da9e1c651b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5956, "upload_time": "2015-11-06T21:51:15", "url": "https://files.pythonhosted.org/packages/1d/f1/fb381b14be1bc116ea4cb6c043dbc5b341f04f859cf3d0b37a2e79c9327f/doopla-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "4fdf1d416cd851e1b5cf5aff32f8e985", "sha256": "894a4f4015e5b871a62260fbdb79b078d2dcf17c445478d67441c3787ee2cd17" }, "downloads": -1, "filename": "doopla-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4fdf1d416cd851e1b5cf5aff32f8e985", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7043, "upload_time": "2016-09-25T18:06:07", "url": "https://files.pythonhosted.org/packages/4b/cd/b6a52ef37505d814337fda2e6379ef6ba04070db9916d827c81f70def33c/doopla-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4fdf1d416cd851e1b5cf5aff32f8e985", "sha256": "894a4f4015e5b871a62260fbdb79b078d2dcf17c445478d67441c3787ee2cd17" }, "downloads": -1, "filename": "doopla-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4fdf1d416cd851e1b5cf5aff32f8e985", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7043, "upload_time": "2016-09-25T18:06:07", "url": "https://files.pythonhosted.org/packages/4b/cd/b6a52ef37505d814337fda2e6379ef6ba04070db9916d827c81f70def33c/doopla-0.3.0.tar.gz" } ] }