Skip to content
This repository was archived by the owner on Jul 9, 2021. It is now read-only.

FloatSplitter has a problem with the final splits.add #79

Open
wants to merge 3 commits into
base: branch-1.4.7
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions bin/sqoop
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,25 @@ bin=`dirname ${prgm}`
bin=`cd ${bin} && pwd`

source ${bin}/configure-sqoop "${bin}"
#exec ${HADOOP_COMMON_HOME}/bin/hadoop org.apache.sqoop.Sqoop "$@"
if [ "--config" = "$1" ]
then
shift
if [[ $1 =~ "--" ]]
then
echo "you need input hadoop-config values."
exit -1
elif [[ $1 = "codegen" ]] || [[ $1 = "create-hive-table" ]] || [[ $1 = "eval" ]] || [[ $1 = "export" ]] || [[ $1 = "help" ]] || [[ $1 = "import" ]] || [[ $1 = "import-all-tables" ]] || [[ $1 = "import-mainframe" ]] || [[ $1 = "job" ]] || [[ $1 = "list-databases" ]] || [[ $1 = "list-tables" ]] || [[ $1 = "merge" ]] || [[ $1 = "metastore" ]] || [[ $1 = "version" ]]
then
echo "you need input hadoop-config values."
exit -1
else
hadoopconfig=$1
shift
fi
fi
if [ ! -n "$hadoopconfig" ] ;then
exec ${HADOOP_COMMON_HOME}/bin/hadoop org.apache.sqoop.Sqoop "$@"
else
exec ${HADOOP_COMMON_HOME}/bin/hadoop --config "$hadoopconfig" org.apache.sqoop.Sqoop "$@"
fi
5 changes: 5 additions & 0 deletions conf/sqoop-site-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,10 @@ under the License.
</description>
</property>
-->
<property>
<name>com.newland.component.FujianBI.service.list</name>
<value>com.newland.component.FujianBI.service.impl.KerberosLoginService</value>
<description>service list</description>
</property>

</configuration>
Loading