Github user blrunner commented on a diff in the pull request:
https://github.com/apache/tajo/pull/489#discussion_r27721416
--- Diff:
tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileAppender.java
---
@@ -53,6 +53,10 @@ public FileAppender(Configuration conf, TaskAttemptId
taskAttemptId, Schema sche
try {
if (taskAttemptId != null) {
+ if (!(conf instanceof TajoConf)) {
+ throw new IllegalArgumentException("Configuration must be a
TajoConf instance");
--- End diff --
How about change the exception message as follows.
```
Configuration must be an instance of TajoConf.
(or Configuration is not an instance of TajoConf.)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---