Giter VIP home page Giter VIP logo

hive-toolbox's Introduction

hive toolbox

various hive related utilities which can be used during hive development

current features:

  • download and apply ptest results to current worktree
build/install/toolbox/bin/toolbox HIVE-XXXXX
build/install/toolbox/bin/toolbox http://..../something.zip

classifies the diffs by some classificators... creates an executable script at /tmp/_qd to guide diff applications This whole thing is most usefull if someone is dealing massive amount of q.out changes...and most of them can be accepted by programming the pattern; Adding a classificator for it can be used to remove the "noise" from the other changes; and uncover real problems without just hitting git commit -a -m ... for 600 q.out changes...

  • ptest-rexecutor (pattern builder) analyzes a jenkins testReport; and builds a maven compatible test pattern to re-execute failing test cases
toolbox/bin/toolbox RERUN patternfile https://builds.apache.org/job/PreCommit-HIVE-Build/8060/

writes the test pattern into patternfile

  • toolbox.userscript.js is a small greasemonkey extension to enable quick lookup of failed tests
  • li-nav is a tool which enables to "browse" git modified files one-by-one; especially usefull: in case of 100s of q.outs which can only be accepted manually works by employing the following principle: sets a variable LI to the actual file; and provides next/prev features so I don't have to cut'n paste the test/q.out name every time... it has some other extension like llq which shows the q file for the actual entry...
toolbox applicator HIVE-19097
  • downloads the latest patch from the jira
  • prints out 2 commands:
    • the git apply command to apply the patch
    • and a git commit to submit it with the original author with the jira title.

also there but not yet working...

  • some jenkins related stuff...to peek into its queues and other things; however currently I'm not able to access attachments using the jira api because of some problem

further ideas

  • scan for unused q.out-s

  • store in annotations:

    • active subprojects
    • remote ticket ref
    • q results
  • simplify submission...upload/etc

  • favorite test set - asf test queue is around 24 hours; a smaller but usefull set to check that the changes are solid?

  • archive all ptest executions from apache

  • be more connected

    • download & commit patch to current ws
    • upload rbt item to prev rbt;
    • branch names - prefix scan; closed tickets are not needed anymore
  • add jenkins related job-dsl definitions?

  • hive-reinit

  • rename project to ?

  • sort diffs by size; could enable to show similar diffs after each other

usefull stuff

I keep forgetting stuff I found usefull..so I'll make notes here if I don't forget it :D

  • Can be used to impose network latency arbitrarily

    sab add --fault_type DELAY -l 3 -p 3306  --direction IN 
    sab reset --fault_type DELAY -l 3 -p 3306  --direction IN
  • colorize less using pygmentize
    LESS=' -R'
    LESSOPEN='|pygmentize %s'

dot -Tpng ticketDag.dot -o /tmp/asd.png feh -R1 --scale-down /tmp/asd.png

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.