commit | c20e10701fd6f196f42d00ce50caaf6a4aa377f8 | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@gmail.com> | Thu Nov 14 00:15:59 2013 -0800 |
committer | buyingyi <buyingyi@gmail.com> | Thu Nov 14 00:15:59 2013 -0800 |
tree | 153bd8e9eed20c65f3b743c13461b2ee3ac342f6 | |
parent | c8777fea38389c9119818e68ab1ce63927931cbb [diff] |
fix for the case iostat is not installed
diff --git a/hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/profiling/IOCounterLinux.java b/hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/profiling/IOCounterLinux.java index c172c41..5713ef1 100644 --- a/hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/profiling/IOCounterLinux.java +++ b/hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/profiling/IOCounterLinux.java
@@ -29,7 +29,7 @@ long reads = extractColumn(4); return reads; } catch (Exception e) { - throw new IllegalStateException(e); + return 0; } } @@ -39,7 +39,7 @@ long reads = extractColumn(5); return reads; } catch (Exception e) { - throw new IllegalStateException(e); + return 0; } }