You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jonathan Hsieh (Created) (JIRA)" <ji...@apache.org> on 2011/10/13 20:49:11 UTC

[jira] [Created] (FLUME-792) Flume's java classpath has a space somewhere in the classpath instead of a colon separator

Flume's java classpath has a space somewhere in the classpath instead of a colon separator
------------------------------------------------------------------------------------------

                 Key: FLUME-792
                 URL: https://issues.apache.org/jira/browse/FLUME-792
             Project: Flume
          Issue Type: Bug
            Reporter: Will McQueen


If there are hadoop jars found based on $HADOOP_HOME environment variable, find can return multiple entires that contains a space.

We probably need to fix this to remove the space.  (There may be another hadoop added to the class path later which allows flume to run).



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (FLUME-792) Flume's java classpath has a space somewhere in the classpath instead of a colon separator

Posted by "Alexander Lorenz-Alten (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Lorenz-Alten reopened FLUME-792:
------------------------------------------

    
> Flume's java classpath has a space somewhere in the classpath instead of a colon separator
> ------------------------------------------------------------------------------------------
>
>                 Key: FLUME-792
>                 URL: https://issues.apache.org/jira/browse/FLUME-792
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v0.9.4
>            Reporter: Will McQueen
>
> If there are hadoop jars found based on $HADOOP_HOME environment variable, find can return multiple entires that contains a space.
> We probably need to fix this to remove the space.  (There may be another hadoop added to the class path later which allows flume to run).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FLUME-792) Flume's java classpath has a space somewhere in the classpath instead of a colon separator

Posted by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126801#comment-13126801 ] 

Jonathan Hsieh commented on FLUME-792:
--------------------------------------

This can be fixed in bin/flume  by changing this in 

{code}
 # try to load the hadoop core jars
  HADOOP_CORE_FOUND=false
  while true; do
      if [ -n "$HADOOP_HOME" ]; then
          HADCOREJARS=`find ${HADOOP_HOME}/hadoop-core*.jar || find ${HADOOP_HOME}/lib/hadoop-core*.jar ||  true`
          if [ -n "$HADCOREJARS" ]; then
              HADOOP_CORE_FOUND=true
              CLASSPATH="$CLASSPATH:${HADCOREJARS}"
              break;
          fi
      fi   
{code}

{code}
 # try to load the hadoop core jars
  HADOOP_CORE_FOUND=false
  while true; do
      if [ -n "$HADOOP_HOME" ]; then
          HADCOREJARS=`find ${HADOOP_HOME}/hadoop-core*.jar || find ${HADOOP_HOME}/lib/hadoop-core*.jar ||  true`
          if [ -n "$HADCOREJARS" ]; then
              HADOOP_CORE_FOUND=true
              HADCOREJARS=`echo $HADCOREJARS | sed 's/ /:/'`
              CLASSPATH="$CLASSPATH:${HADCOREJARS}"
              break;
          fi
      fi   
{code}
                
> Flume's java classpath has a space somewhere in the classpath instead of a colon separator
> ------------------------------------------------------------------------------------------
>
>                 Key: FLUME-792
>                 URL: https://issues.apache.org/jira/browse/FLUME-792
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Will McQueen
>
> If there are hadoop jars found based on $HADOOP_HOME environment variable, find can return multiple entires that contains a space.
> We probably need to fix this to remove the space.  (There may be another hadoop added to the class path later which allows flume to run).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FLUME-792) Flume's java classpath has a space somewhere in the classpath instead of a colon separator

Posted by "Arvind Prabhakar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arvind Prabhakar updated FLUME-792:
-----------------------------------

    Affects Version/s: v0.9.4
    
> Flume's java classpath has a space somewhere in the classpath instead of a colon separator
> ------------------------------------------------------------------------------------------
>
>                 Key: FLUME-792
>                 URL: https://issues.apache.org/jira/browse/FLUME-792
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v0.9.4
>            Reporter: Will McQueen
>
> If there are hadoop jars found based on $HADOOP_HOME environment variable, find can return multiple entires that contains a space.
> We probably need to fix this to remove the space.  (There may be another hadoop added to the class path later which allows flume to run).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (FLUME-792) Flume's java classpath has a space somewhere in the classpath instead of a colon separator

Posted by "Alexander Lorenz-Alten (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Lorenz-Alten resolved FLUME-792.
------------------------------------------

    Resolution: Won't Fix
    
> Flume's java classpath has a space somewhere in the classpath instead of a colon separator
> ------------------------------------------------------------------------------------------
>
>                 Key: FLUME-792
>                 URL: https://issues.apache.org/jira/browse/FLUME-792
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v0.9.4
>            Reporter: Will McQueen
>
> If there are hadoop jars found based on $HADOOP_HOME environment variable, find can return multiple entires that contains a space.
> We probably need to fix this to remove the space.  (There may be another hadoop added to the class path later which allows flume to run).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira