license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Although big data processing has become dramatically easier over the last decade, there has not been matching progress over bigdata debugging. It is estimated that users spend more than 50% of their time debugging their big data applications, wasting machine resources and taking longer to reach valuable insights. One cannot simply transplant traditional debugging techniques to big data. In this paper, we propose the TagSniff model, which can dramatically simplify data debugging for dataflows (the de-facto programming model for big data). It is based on two primitives –tag and sniff– that are flexible and expressive enough to model all common bigdata debugging scenarios. We then presentSnoopy– a general purpose monitoring and debugging system based on the TagSniff model. It supports both online and post-hoc debugging modes.Our experimental evaluation shows that Snoopy incurs a very low over head on the main dataflow, 6%on average, as well as it is highly responsive to system events and users instructions.