File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
spring-hadoop-core/src/main/java/org/springframework/data/hadoop/pig Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2828import org .apache .pig .backend .BackendException ;
2929import org .apache .pig .backend .executionengine .ExecException ;
3030import org .apache .pig .backend .executionengine .ExecJob ;
31- import org .apache .pig .backend .hadoop .executionengine .JobCreationException ;
3231import org .apache .pig .impl .logicalLayer .FrontendException ;
3332import org .apache .pig .impl .logicalLayer .schema .SchemaMergeException ;
3433import org .apache .pig .impl .plan .PlanException ;
@@ -74,7 +73,7 @@ static DataAccessException convert(PigException ex) {
7473 }
7574
7675 if (ex instanceof FrontendException ) {
77- if (ex instanceof JobCreationException ) {
76+ if (ex . getClass (). getName (). contains ( " JobCreationException" ) ) {
7877 return new InvalidDataAccessResourceUsageException ("Map Reduce error" , ex );
7978 }
8079
You can’t perform that action at this time.
0 commit comments