Skip to content

liukeyou/hadoop-wireshark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hadoop-wireshark

wireshark plugin for hadoop 2.x(hdfs/yarn/hbase)

Introduction

hadoop-wireshark is a open source hadoop 2.x protocol analyzer plugin with Wireshark. The hadoop rpc packet dissect according to HadoopRpc. Some protobuf handles code copy from protobuf-wireshark.

Feature

  1. Hadoop(cloudera 5.x) 2.2 / 2.3 / 2.4 / 2.4.1 packet dissect including HDFS/YARN/MapReduce
  2. HBase(cloudera 5.x) 0.96.x / 0.98.x / packet dissect
  3. authentication (support Hadoop, HBase Plan)
  4. HDFS Data packet (support)
  5. Spack (Plan)

Build and Run

Build

  1. Before build you must install vs2010 and protobuf
  2. Download the sourcecode of current stable version Wireshark 1.10.8
  3. Build wireshark
  4. Enter the wireshark plugins dir and mkdir "hadoop" (wireshark-1.10.8\plugins\hadoop)
  5. Copy hadoop-wireshark file to hadoop dir
  6. Modify the PROTOBUF_DIR and PROTOBUF_LIB variable with you dir in Makefile.nmake file
  7. Open vs2010 cmd and enter hadoop dir
  8. Use nmake cmd to build(nmake -f Makefile.nmake)

Run

  1. Copy the hadoop and hbase proto file to the wireshark plugin dir(in my computer is "E:\dev\opensource\wireshark\wireshark-1.10.8\wireshark-gtk2\plugins\1.10.8\hadoop-wireshark")
  2. Copy the hadoop.dll to wireshark plugin install dir (wireshark-1.10.8\wireshark-gtk2\plugins\1.10.8)
  3. Run wireshark and open packet file
  4. Select one hadoop packet and right click
  5. Select "Decode as" and open Transport sheet page decode as
  6. Select HADOOP dissect
  7. Select HBASE dissect
  8. Select HDFSDATA2 dissect

setup

you can download the setup file:hadoop-wireshark(1.10.8) setup file

Change Logs

  1. version 0.8.0: support hdfsdata2 & fix bug
  2. version 0.7.0: support hadoop authentication & fix bug
  3. version 0.6.0: support x86 platform
  4. version 0.0.6: support wireshark-1.10.8(x64) with windows vs2010

#Known Issues

  1. not support hdfs DataTransferEncryptorMessageProto
  2. not support TaskUmbilicalProtocol (the use WritableRpcEngine, not use ProtobufRpcEngine)

Licence

hadoop-wireshark is published under the Apache V2.

Contact

www.Xdrv.com

About

wireshark plugin for hadoop 2.x(hdfs/yarn/hbase)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published