mirror of
https://github.com/apache/sqoop.git
synced 2025-05-04 03:41:08 +08:00
SQOOP-1227. Sqoop fails to compile against commons-io higher then 1.4
(Jarek Jarcec Cecho via Hari Shreedharan)
This commit is contained in:
parent
ed73f885a1
commit
bbc2c17a77
@ -106,7 +106,7 @@ private void writeAvroSchema(final Schema schema) throws IOException {
|
|||||||
|
|
||||||
LOG.info("Writing Avro schema file: " + schemaFile);
|
LOG.info("Writing Avro schema file: " + schemaFile);
|
||||||
FileUtils.forceMkdir(schemaFile.getParentFile());
|
FileUtils.forceMkdir(schemaFile.getParentFile());
|
||||||
FileUtils.writeStringToFile(schemaFile, schema.toString(true), null);
|
FileUtils.writeStringToFile(schemaFile, schema.toString(true));
|
||||||
|
|
||||||
// Copy schema to code output directory.
|
// Copy schema to code output directory.
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user