https://github.com/elek/hadoop-btrace
BTrace scripts for investigate internals of Hadoop.
https://github.com/elek/hadoop-btrace
Last synced: about 1 year ago
JSON representation
BTrace scripts for investigate internals of Hadoop.
- Host: GitHub
- URL: https://github.com/elek/hadoop-btrace
- Owner: elek
- License: apache-2.0
- Created: 2017-01-15T23:12:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-26T21:31:21.000Z (over 9 years ago)
- Last Synced: 2025-02-12T10:55:26.644Z (over 1 year ago)
- Language: Java
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BTrace scripts for investigate internals of Hadoop.
_Work in progress_
# Usage
## Compile the current project
```
mvn package
```
## Download btrace
Get the latest release from here: https://github.com/btraceio/btrace/releases
```
mkdir btrace
cd btrace
wget https://github.com/btraceio/btrace/releases/download/v1.3.9/btrace-bin-1.3.9.zip
unzip btrace*.zip
```
## Attach to an existing process
Find the process id of your java app:
```
jps -l
18 org.apache.hadoop.hdfs.server.namenode.NameNode
114 sun.tools.jps.Jps
```
Join to the process:
```
./btrace -u 18 target/classes/META-INF/btrace/RpcCalls.class
```