Skip to content

Instantly share code, notes, and snippets.

@gehel
gehel / elasticsearch_unassigne_shards.py
Created September 16, 2016 16:31
Check reason for unassigned shards in elasticsearch
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import
import sys
import logging
from tabulate import tabulate
from elasticsearch import Elasticsearch
@gehel
gehel / pom.xml
Created March 1, 2017 16:01
upload elasticsearch plugins
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.wikimedia.search</groupId>
<artifactId>upload-plugins</artifactId>
<version>1.0-SNAPSHOT</version>