Hi

I just found a small issue with 'bin/metatool', it does not detect '$bin' like other startup scripts (schemaTool,..). Attaching the patch for the same.

Regards,
Navaneeth
diff --git bin/metatool bin/metatool
index df85300..94b0e9e 100644
--- bin/metatool
+++ bin/metatool
@@ -15,4 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-hive --service metatool "$@"
+bin=`dirname "$0"`
+bin=`cd "$bin"; pwd`
+
+. "$bin"/hive --service metatool "$@"

Reply via email to