File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
mr/src/main/java/org/elasticsearch/hadoop/rest Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ allprojects {
22
22
// Hive depends on JDO ec2 missing from Maven Central
23
23
maven { url " http://www.datanucleus.org/downloads/maven2" }
24
24
maven { url " http://oss.sonatype.org/content/groups/public/" }
25
- maven { url " https://staging.elastic.co/5.0.0-beta1-5eb5cbdb /maven" }
25
+ maven { url " https://staging.elastic.co/5.0.0-rc1-9db751df /maven" }
26
26
}
27
27
28
28
apply plugin : " java"
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ hamcrestVersion = 1.3
35
35
# Hive 0.11 finally updated antlr to 3.4 so there are no more conflicts with Pig
36
36
antlrVersion = 3.4
37
37
thriftVersion = 0.5.0
38
- esVersion = 5.0.0-beta1
39
- esVersionStable = 5.0.0-beta1
38
+ esVersion = 5.0.0-rc1
39
+ esVersionStable = 5.0.0-rc1
40
40
41
41
luceneVersion = 6.0.0
42
42
groovyVersion = 2.4.4
Original file line number Diff line number Diff line change @@ -419,7 +419,11 @@ public void delete() {
419
419
}
420
420
else {
421
421
// try first a blind delete by query (since the plugin might be installed)
422
- client .delete (resourceW .indexAndType () + "/_query?q=*" );
422
+ try {
423
+ client .delete (resourceW .indexAndType () + "/_query?q=*" );
424
+ } catch (EsHadoopInvalidRequest ehir ) {
425
+ log .info ("Skipping delete by query as the plugin is not installed..." );
426
+ }
423
427
424
428
// in ES 2.0 and higher this means scrolling and deleting the docs by hand...
425
429
// do a scroll-scan without source
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ private String assemble() {
192
192
}
193
193
if (local ) {
194
194
if (pref .length () > 0 ) {
195
- pref .append ("; " );
195
+ pref .append ("| " );
196
196
}
197
197
pref .append ("_local" );
198
198
}
You can’t perform that action at this time.
0 commit comments