Andrew Wong created KUDU-2507: --------------------------------- Summary: Java tests fail when starting MiniKuduCluster with log block manager Key: KUDU-2507 URL: https://issues.apache.org/jira/browse/KUDU-2507 Project: Kudu Issue Type: Bug Components: java Reporter: Andrew Wong
When running Java tests that use a MiniKuduCluster on linux machines that don't support hole punching, they will use the LBM by default, but fail to start the cluster upon attempting to do the hole punching. {quote}08:36:53.929 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) F0717 08:36:53.926518 22774 master_main.cc:81] Check failed: _s.ok() Bad status: IO error: Could not create new FS layout: Unable to create directory manager: could not create new data directories: Error during hole punch test. The log block manager requires a filesystem with hole punching support such as ext4 or xfs. On el6, kernel version 2.6.32-358 or newer is required. To run without hole punching (at the cost of some efficiency and scalability), reconfigure Kudu with --block_manager=file. Refer to the Kudu documentation for more details. Raw error message follows: Unexpected pre-punch file size for /tmp/mini-kudu-cluster1333093869069900991/master-0/data/data/hole_punch_test_file: expected 16384 but got 0 08:36:53.929 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) *** Check failure stack trace: *** 08:36:53.929 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) @ 0xaaf68d google::LogMessage::Fail() 08:36:53.929 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) @ 0xab154d google::LogMessage::SendToLog() 08:36:53.930 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) @ 0xaaf1c9 google::LogMessage::Flush() 08:36:53.930 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) @ 0xab1fef google::LogMessageFatal::~LogMessageFatal() 08:36:53.931 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) @ 0xa31757 kudu::master::MasterMain() 08:36:53.931 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) @ 0x3a2fe1ed5d __libc_start_main 08:36:53.933 [INFO - cluster stderr printer] (MiniKuduCluster.java:489) @ 0xa30f81 (unknown) 08:36:53.954 [DEBUG - main] (MiniKuduCluster.java:150) Response: error { {quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005)