Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Search and Profiler #11

Open
surajnayak opened this issue Mar 16, 2016 · 5 comments
Open

Documentation for Search and Profiler #11

surajnayak opened this issue Mar 16, 2016 · 5 comments

Comments

@surajnayak
Copy link

How to use search and profiler ? I just get blank page? Can someone provide brief example ?

@danielcweeks
Copy link
Contributor

@surajnayak, In order to search or view anything, you first need to go through the process of setting it up (described in the readme). Once you have data from your hadoop cluster indexed, you should be able to search and profile jobs.

You can read more about it here: http://techblog.netflix.com/2014/09/inviso-visualizing-hadoop-performance.html

@surajnayak
Copy link
Author

@danielcweeks, I tried following the documentation, but got below error :

$ python jes.py 
INFO:inviso-monitor:Publishing event: (cluster_1_dev) job_1458228381455_0111 2016-03-17T18:24:31+00:00
INFO:inviso-handler:Processing 1 events
ERROR:snakebite.client:RpcBufferedReader only managed to read 0 out of 4 bytes
ERROR:snakebite.client:RpcBufferedReader only managed to read 0 out of 4 bytes
ERROR:snakebite.client:RpcBufferedReader only managed to read 0 out of 4 bytes
ERROR:inviso-handler:Failure to read block 1131916133
Traceback (most recent call last):
  File "/apps/inviso/jes/inviso/handler.py", line 135, in process_event
    self._process_config(doc, event)
  File "/apps/inviso/jes/inviso/handler.py", line 180, in _process_config
    content = self.fetch_content(event['config.uri'])
  File "/apps/inviso/jes/inviso/handler.py", line 168, in fetch_content
    for line in c.text([p.path]):
  File "/apps/venv/base/lib/python2.6/site-packages/snakebite/client.py", line 853, in text
    include_children=False, recurse=False):
  File "/apps/venv/base/lib/python2.6/site-packages/snakebite/client.py", line 1083, in _find_items
    entry = processor(full_path, fileinfo.fs)
  File "/apps/venv/base/lib/python2.6/site-packages/snakebite/client.py", line 851, in <lambda>
    processor = lambda path, node, check_crc=check_crc: self._handle_text(path, node, check_crc)
  File "/apps/venv/base/lib/python2.6/site-packages/snakebite/client.py", line 862, in _handle_text
    for load in self._read_file(path, node, False, check_crc):
  File "/apps/venv/base/lib/python2.6/site-packages/snakebite/client.py", line 1033, in _read_file
    raise Exception("Failure to read block %s" % block.b.blockId)
Exception: Failure to read block 1131916133
INFO:inviso-handler:Indexing 0 documents
INFO:inviso-handler:Events complete.
INFO:inviso-monitor:Publishing event: (cluster_1_dev) job_1458228381455_0124 2016-03-17T18:23:51+00:00
INFO:inviso-handler:Processing 1 events
ERROR:snakebite.client:RpcBufferedReader only managed to read 0 out of 4 bytes
ERROR:snakebite.client:RpcBufferedReader only managed to read 0 out of 4 bytes
ERROR:snakebite.client:RpcBufferedReader only managed to read 0 out of 4 bytes
ERROR:inviso-handler:Failure to read block 1131915997
Traceback (most recent call last):

@danielcweeks
Copy link
Contributor

Genie is not required for this to work. It appears that you're having
trouble getting access to hdfs to read the history files.

What version of hadoop are you using? You might want to take a look at the
closed issues as well because others may have hit this same thing.
On Mar 19, 2016 1:08 AM, "Suraj Nayak" notifications@github.com wrote:

Is Genie required for elasticsearch to work ?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#11 (comment)

@othman-essabir
Copy link

othman-essabir commented May 2, 2016

Applying this patch should work spotify/snakebite@68db2f2

@surajnayak
Copy link
Author

Thank you so much @othman-essabir. The patch worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants